core/manager: honor show_status_overridden in manager_watch_jobs_next_time()

Prompted by #39029
This commit is contained in:
Mike Yuan
2025-09-20 00:01:54 +02:00
parent e66b233e83
commit 4f8c1de213
+1 -1
View File
@@ -137,7 +137,7 @@ static usec_t manager_watch_jobs_next_time(Manager *m) {
/* Let the user manager without a timeout show status quickly, so the system manager can make
* use of it, if it wants to. */
timeout = JOBS_IN_PROGRESS_WAIT_USEC * 2 / 3;
else if (show_status_on(m->show_status))
else if (manager_get_show_status_on(m))
/* When status is on, just use the usual timeout. */
timeout = JOBS_IN_PROGRESS_WAIT_USEC;
else