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

About the ExpiryDuration of ants #46

Closed
ymichaelson opened this issue Aug 25, 2019 · 1 comment
Closed

About the ExpiryDuration of ants #46

ymichaelson opened this issue Aug 25, 2019 · 1 comment
Labels
good first issue Good for newcomers question Further information is requested

Comments

@ymichaelson
Copy link

worker的ExpiryDuration时间怎么设置,一般设置成多少比较合适?

@panjf2000
Copy link
Owner

这个看你业务场景,一般来说如果是任务数量大(频繁地使用worker)且每个任务耗时比较短的,这个值可以设置得大一些,避免过于频繁地检查和清理worker,反之则可以酌情设置得大一些。

@panjf2000 panjf2000 added good first issue Good for newcomers question Further information is requested labels Aug 25, 2019
@panjf2000 panjf2000 changed the title worker的ExpiryDuration时间怎么设置 About the ExpiryDuration of ants Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants