From 64bd28e83cdfbbf80ec4f75389f705f35349cae8 Mon Sep 17 00:00:00 2001 From: Newnius Date: Thu, 13 Aug 2020 19:17:59 +0800 Subject: [PATCH] support switch scheduler.strategy --- src/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.go b/src/main.go index f801170..b5065ab 100644 --- a/src/main.go +++ b/src/main.go @@ -344,6 +344,7 @@ func serverAPI(w http.ResponseWriter, r *http.Request) { break /* allocator.strategy */ + /* TODO: move jobs */ case "allocator.strategy": ok = InstanceOfAllocator().updateStrategy(value) scheduler = InstanceOfConfiguration().GetScheduler()