Skip to content
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

Update Worker.php #748

Merged
merged 1 commit into from Apr 16, 2022
Merged

Update Worker.php #748

merged 1 commit into from Apr 16, 2022

Conversation

captainstdin
Copy link
Contributor

防止在serverless部署中,因为runtime需要迁移到/tmp下时(serverless全局仅读,仅/tmp可写), runtime/logs 不存在时候的报错
touch(): Unable to create file /app/runtime/logs/workerman.log because No such file or directory in file /app/vendor/workerman/workerman/Worker.php on line 599

防止在serverless部署中,因为runtime需要迁移到/tmp下时(serverless全局仅读,仅/tmp可写), runtime/logs 不存在时候的报错
 touch(): Unable to create file /app/runtime/logs/workerman.log because No such file or directory in file /app/vendor/workerman/workerman/Worker.php on line 599
@walkor walkor merged commit 1a2b571 into walkor:master Apr 16, 2022
@walkor
Copy link
Owner

walkor commented Apr 16, 2022

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants