mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
support switch scheduler.strategy
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user