From 1be9493b353a26f66431553056f200328e8f854f Mon Sep 17 00:00:00 2001 From: crusaderky Date: Fri, 22 Oct 2021 15:33:01 +0100 Subject: [PATCH] code review --- docs/source/active_memory_manager.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/active_memory_manager.rst b/docs/source/active_memory_manager.rst index 969ddd9b8d2..3fd5a68f238 100644 --- a/docs/source/active_memory_manager.rst +++ b/docs/source/active_memory_manager.rst @@ -144,6 +144,9 @@ define two methods: - Create replicas of a task on workers that already hold them - Create replicas on paused or retiring workers + It is generally a good idea to design policies to be as simple as possible and let + the AMM take care of the edge cases above by ignoring some of the suggestions. + Optionally, the ``run`` method may retrieve which worker the AMM just selected, as follows: