mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 05:51:54 +00:00
support switch scheduler.strategy
This commit is contained in:
parent
8ce969a163
commit
64bd28e83c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user