mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +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
|
break
|
||||||
|
|
||||||
/* allocator.strategy */
|
/* allocator.strategy */
|
||||||
|
/* TODO: move jobs */
|
||||||
case "allocator.strategy":
|
case "allocator.strategy":
|
||||||
ok = InstanceOfAllocator().updateStrategy(value)
|
ok = InstanceOfAllocator().updateStrategy(value)
|
||||||
scheduler = InstanceOfConfiguration().GetScheduler()
|
scheduler = InstanceOfConfiguration().GetScheduler()
|
||||||
|
Loading…
Reference in New Issue
Block a user