Skip to content

Is it possible to change worker restarting time? #845

Answered by xzero0911
xzero0911 asked this question in Q&A
Discussion options

You must be logged in to vote

I found solution by myself and let me share here.
Base on Mojo document, you can edit the timeout second in Prefork.pm.
You can find Prefork.pm in folder \wsl.localhost\lanraragi\usr\local\share\perl5\site_perl\Mojo\Server
Just change graceful_timeout and heartbeat_timeout as you want.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Difegue
Comment options

Answer selected by Difegue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #830 on September 14, 2023 22:11.