Skip to content

Commit 7f8ffbc

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 12ef6cc + 5b6cda6 commit 7f8ffbc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ PHP NEWS
2323
. Fix crash in ParentNode::append() when dealing with a fragment
2424
containing text nodes. (nielsdos)
2525

26+
- FPM:
27+
. Fix bug GH-14175 (Show decimal number instead of scientific notation in
28+
systemd status). (Benjamin Cremer)
29+
2630
- Hash:
2731
. ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
2832
(Saki Takamachi)

sapi/fpm/fpm/fpm_systemd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ static void fpm_systemd(void)
2929
}
3030

3131
/*
32-
zlog(ZLOG_DEBUG, "systemd %s (Processes active:%d, idle:%d, Requests:%lu, slow:%lu, Traffic:%.3greq/sec)",
32+
zlog(ZLOG_DEBUG, "systemd %s (Processes active:%d, idle:%d, Requests:%lu, slow:%lu, Traffic:%.2freq/sec)",
3333
fpm_global_config.systemd_watchdog ? "watchdog" : "heartbeat",
3434
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval);
3535
*/
3636

3737
if (0 > sd_notifyf(0, "READY=1\n%s"
38-
"STATUS=Processes active: %d, idle: %d, Requests: %lu, slow: %lu, Traffic: %.3greq/sec",
38+
"STATUS=Processes active: %d, idle: %d, Requests: %lu, slow: %lu, Traffic: %.2freq/sec",
3939
fpm_global_config.systemd_watchdog ? "WATCHDOG=1\n" : "",
4040
active, idle, requests, slow_req, ((float)requests - last) * 1000.0 / fpm_global_config.systemd_interval)) {
4141
zlog(ZLOG_NOTICE, "failed to notify status to systemd");

0 commit comments

Comments
 (0)