This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure PWD is propagated to workers in mode SWOOLE_PROCESS
During testing, I discovered that when running in mode SWOOLE_PROCESS, the issue in #15 resurfaced. The solution was to add a `workerstart` event that resets the PWD based on what is present in the `RequestHandlerSwooleRunner`. The listener also logs the worker process ID. Fixes #15
- Loading branch information
1 parent
a7835de
commit 8ff24fd
Showing
2 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters