Queue worker default memory
taken from php.ini
#54932
Unanswered
zbigniew-malcherczyk-tg
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the https://github.com/laravel/framework/blob/12.x/src/Illuminate/Queue/ListenerOptions.php#L28 class memory parameter is specified at 128, which is also the default php.ini, but I believe it shouldn't be that simple because you can specify 1gb or more memory for the worker, and then it's still gonna be 128mb for the queue worker.
My idea is to keep the default value (128mb) for BC reasons but to override the value with php.ini value, therefore, more automation will be in place, and possible optimisation.
Beta Was this translation helpful? Give feedback.
All reactions