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

关于swoole下不能使用app('request')的问题 #6

Closed
kuoshijia opened this issue Jul 1, 2019 · 0 comments
Closed

关于swoole下不能使用app('request')的问题 #6

kuoshijia opened this issue Jul 1, 2019 · 0 comments
Labels
wontfix This will not be worked on

Comments

@kuoshijia
Copy link

laravel-tars能不能参考swooletw/laravel-swoole提供沙箱环境,对每个请求都重新绑定一些新的实例。因为目前全局或者单例变量都是共用的.
swooletw/laravel-swoole是通过Context类用协程id来保存每次请求需要重新生成的request,使用完后删除。用Sandbox类来封装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants