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 Kill Process Without Waiting For Http Call #533

Closed
wlzch opened this issue Oct 14, 2022 · 0 comments
Closed

Swoole Kill Process Without Waiting For Http Call #533

wlzch opened this issue Oct 14, 2022 · 0 comments

Comments

@wlzch
Copy link

wlzch commented Oct 14, 2022

Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)

  1. Please provide your PHP and Swoole version. (php -v and php --ri swoole)
    php v7.3 & swoole v4.8.8

  2. Please provide your Laravel/Lumen version.
    lumen v8

  3. Which release version of this package are you using?
    2.11

  4. What did you do? If possible, provide a recipe for reproducing the error.
    We have an API that sometimes can run > 30s while nginx timeout is set to 30s.
    In the middle of this API, there is a Http Client call to other services.
    If before reaching this Http Client, the nginx already timed out then the process is suddenly killed without waiting for the call to finish.

  5. What did you expect to see?
    Swoole will kill the process only after it is finished.

  6. What did you see instead?
    Swoole kill the process immediately

@wlzch wlzch closed this as completed Dec 7, 2022
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

No branches or pull requests

1 participant