feat: add normal alias for discrete scheduler (#1724)

This commit is contained in:
leejet authored and GitHub committed 2026-06-30 00:19:21 +08:00
1 parent 57e19fa954
commit 3b6c9ca97c
4 files changed
+10 -1

No files matched your search

+3
View File
@@ -219,6 +219,9 @@ static json make_capabilities_json(ServerRuntime& runtime) {
for (int i = 0; i < SCHEDULER_COUNT; ++i) {
schedulers.push_back(sd_scheduler_name((scheduler_t)i));
if (i == DISCRETE_SCHEDULER) {
schedulers.push_back("normal");
}
}
{