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

Will this sleep() before a retry block the broker application? #140

Open
matheuscscp opened this issue Jul 17, 2019 · 3 comments
Open

Will this sleep() before a retry block the broker application? #140

matheuscscp opened this issue Jul 17, 2019 · 3 comments
Assignees
Labels

Comments

@matheuscscp
Copy link

timer:sleep(trunc(math:pow(10, Times))),

This sleep() runs before another request attempt is sent. Will this sleep() block the entire broker, or the webhook plugin runs in a separate thread?

@HJianBo
Copy link
Member

HJianBo commented Jul 3, 2020

Nope. It does not block the entire broker. These lines running in each connection process.

Don't worry about that :-)

@HJianBo HJianBo added the Support label Jul 3, 2020
@matheuscscp
Copy link
Author

Each connection has a whole process for it?

@HJianBo
Copy link
Member

HJianBo commented Jul 6, 2020

Yes. it is

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

No branches or pull requests

2 participants