Replies: 1 comment
-
Currently, implementing true hot reloading for persistent memory applications is quite challenging. You can use inotify to monitor file changes - when files are modified, you can restart the HTTP server to reload the files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had asked this as part of a different question I had in #5354, but didn't get a response:
Related to coroutines - on https://wiki.swoole.com/en/#/server/co_init, it says:
"some functionalities need to be manually implemented, such as handling reload functionality by listening to signals"
Do you have an example of how reloading can be done in a coroutine?
I know how to listen for signals, but how would I do the reload itself?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions