mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
This commit is contained in:
commit
fba8e210e9
1 changed files with 2 additions and 2 deletions
|
@ -29,13 +29,13 @@ static void fpm_systemd(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
zlog(ZLOG_DEBUG, "systemd %s (Processes active:%d, idle:%d, Requests:%lu, slow:%lu, Traffic:%.3greq/sec)",
|
zlog(ZLOG_DEBUG, "systemd %s (Processes active:%d, idle:%d, Requests:%lu, slow:%lu, Traffic:%.2freq/sec)",
|
||||||
fpm_global_config.systemd_watchdog ? "watchdog" : "heartbeat",
|
fpm_global_config.systemd_watchdog ? "watchdog" : "heartbeat",
|
||||||
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval);
|
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (0 > sd_notifyf(0, "READY=1\n%s"
|
if (0 > sd_notifyf(0, "READY=1\n%s"
|
||||||
"STATUS=Processes active: %d, idle: %d, Requests: %lu, slow: %lu, Traffic: %.3greq/sec",
|
"STATUS=Processes active: %d, idle: %d, Requests: %lu, slow: %lu, Traffic: %.2freq/sec",
|
||||||
fpm_global_config.systemd_watchdog ? "WATCHDOG=1\n" : "",
|
fpm_global_config.systemd_watchdog ? "WATCHDOG=1\n" : "",
|
||||||
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval)) {
|
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval)) {
|
||||||
zlog(ZLOG_NOTICE, "failed to notify status to systemd");
|
zlog(ZLOG_NOTICE, "failed to notify status to systemd");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue