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

Question about goroutines #125

Closed
ibrunotome opened this issue Mar 11, 2019 · 1 comment
Closed

Question about goroutines #125

ibrunotome opened this issue Mar 11, 2019 · 1 comment
Labels
question Further information is requested

Comments

@ibrunotome
Copy link

After you great job on #109 do you have plans to implement the go (function () { now that we have the cleaners of the requests?

@hhxsv5 hhxsv5 added the question Further information is requested label Mar 12, 2019
@hhxsv5
Copy link
Owner

hhxsv5 commented Mar 12, 2019

There are a large number of singletons and static properties in Laravel/Lumen, which are unsafe in coroutine. It is NOT recommended to enable coroutine, but coroutine can be used in custom processes and cron job.

The cleaners should be synchronous to ensure that each request is processed sequentially.

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

No branches or pull requests

2 participants