Implement pause/resume commands w/ APOLLO_APP_STATUS envvar

This commit is contained in:
Yukino Song
2025-06-05 01:57:41 +08:00
parent 2795e34e16
commit 3e0cbaf2c2
13 changed files with 312 additions and 119 deletions

View File

@@ -268,6 +268,9 @@ int main(int argc, char *argv[]) {
logging::log_flush();
lifetime::debug_trap();
};
proc::proc.terminate();
force_shutdown = task_pool.pushDelayed(task, 10s).task_id;
shutdown_event->raise(true);