Skip to content

Commit bc300c6

Browse files
Log max_requests on startup
1 parent cf16368 commit bc300c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frankenphp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ func Init(options ...Option) error {
337337
initAutoScaling(mainThread)
338338

339339
if globalLogger.Enabled(globalCtx, slog.LevelInfo) {
340-
globalLogger.LogAttrs(globalCtx, slog.LevelInfo, "FrankenPHP started 🐘", slog.String("php_version", Version().Version), slog.Int("num_threads", mainThread.numThreads), slog.Int("max_threads", mainThread.maxThreads))
340+
globalLogger.LogAttrs(globalCtx, slog.LevelInfo, "FrankenPHP started 🐘", slog.String("php_version", Version().Version), slog.Int("num_threads", mainThread.numThreads), slog.Int("max_threads", mainThread.maxThreads), slog.Int("max_requests", maxRequestsPerThread))
341341

342342
if EmbeddedAppPath != "" {
343343
globalLogger.LogAttrs(globalCtx, slog.LevelInfo, "embedded PHP app 📦", slog.String("path", EmbeddedAppPath))

0 commit comments

Comments
 (0)