-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Hot reloading when session is enabled #8112
Conversation
Thank you. I totally forgot about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good.
@michalsn I applied the patch, but the problem remained. The page cannot be updated $ patch -p1 < ~/Downloads/patch-diff.githubusercontent.com_raw_codeigniter4_CodeIgniter4_pull_8112.patch
patching file system/Debug/Toolbar/Views/toolbar.js
patching file system/HotReloader/HotReloader.php
patching file system/Debug/Toolbar/Views/toolbar.js
patching file system/Debug/Toolbar/Views/toolbar.tpl.php |
@neznaika0 Thank you for testing this out... unfortunately I have no other ideas for now. Although this PR fixes a valid bug. |
@michalsn Thank you! |
Description
When we use the session globally, it can block other requests as they wait for the session to be available for writing. The hot reloader runs in the background as a "long-running process".
This PR may potentially fix: 8093
Checklist: