mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 09:08:22 +00:00
chore: better Zend Max Execution Timers message
This commit is contained in:
parent
8149f191e0
commit
2dbc94508c
@ -267,7 +267,7 @@ func Init(options ...Option) error {
|
||||
|
||||
if config.ZTS {
|
||||
if !config.ZendMaxExecutionTimers && runtime.GOOS == "linux" {
|
||||
logger.Warn(`Zend Timer is not enabled, "--enable-zend-max-execution-timers" configuration option or timeouts (e.g. "max_execution_time") will not work as expected`)
|
||||
logger.Warn(`Zend Max Execution Timers are not enabled, timeouts (e.g. "max_execution_time") are disabled, recompile PHP with the "--enable-zend-max-execution-timers" configuration option to fix this issue`)
|
||||
}
|
||||
} else {
|
||||
opt.numThreads = 1
|
||||
|
Loading…
Reference in New Issue
Block a user