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

[1.x] Ignore Response::create failed #590

Merged
merged 3 commits into from
Oct 3, 2022
Merged

Conversation

sy-records
Copy link
Contributor

Fix #588

This feature should only be available for Swoole.

OpenSwoole recommends using the max_request_execution_time configuration.

If a new response cannot be created, we can ignore it.

This will fall back to a page hold instead of an exception.

@driesvints
Copy link
Member

Thanks @sy-records

@smortexa
Copy link
Contributor

@sy-records OpenSwoole shouldn't be ignored because max_request_execution_time config doesn't work on Octane yet.

#510 (comment)
openswoole/ext-openswoole#136

@sy-records
Copy link
Contributor Author

cc @doubaokun

@nunomaduro nunomaduro changed the title Ignore Response::create failed [1.x] Ignore Response::create failed Sep 30, 2022
@nunomaduro nunomaduro changed the title [1.x] Ignore Response::create failed [1.x] Ignore Response::create failed Sep 30, 2022
@nunomaduro nunomaduro marked this pull request as draft September 30, 2022 10:44
@nunomaduro
Copy link
Member

@sy-records Please set it "Ready for review" once this pull request is fully ready.

@sy-records sy-records marked this pull request as ready for review October 2, 2022 06:51
@nunomaduro nunomaduro self-assigned this Oct 3, 2022
@nunomaduro nunomaduro self-requested a review October 3, 2022 11:06
@nunomaduro nunomaduro removed their assignment Oct 3, 2022
@nunomaduro
Copy link
Member

@sy-records Can you tell me how exactly reproduce this issue locally?

@nunomaduro nunomaduro marked this pull request as draft October 3, 2022 13:32
@nunomaduro nunomaduro marked this pull request as ready for review October 3, 2022 14:24
@nunomaduro
Copy link
Member

@taylorotwell This looks good to me.

@taylorotwell taylorotwell merged commit c054888 into laravel:1.x Oct 3, 2022
@sy-records sy-records deleted the fix/588 branch October 3, 2022 22:26
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.

Call to a member function status() on bool in EnsureRequestsDontExceedMaxExecutionTime
5 participants