From: Mike Yuan Date: Mon, 1 Dec 2025 04:16:13 +0000 (+0100) Subject: core/manager: constify DEFAULT_TASKS_MAX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f145fc8c7e8886b45c98c0358265fbeedcf6c80d;p=thirdparty%2Fsystemd.git core/manager: constify DEFAULT_TASKS_MAX --- diff --git a/src/core/manager.c b/src/core/manager.c index 7938c989af1..594e7bc2c75 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -113,7 +113,7 @@ /* How many units and jobs to process of the bus queue before returning to the event loop. */ #define MANAGER_BUS_MESSAGE_BUDGET 100U -#define DEFAULT_TASKS_MAX ((CGroupTasksMax) { 15U, 100U }) /* 15% */ +#define DEFAULT_TASKS_MAX ((const CGroupTasksMax) { 15U, 100U }) /* 15% */ static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata); static int manager_dispatch_signal_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata);