We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug timer.After() creates a new timer object each time it is called. Which can cause a memory leak in the for loop.
asynq/subscriber.go
Lines 61 to 74 in d04888e
asynq/syncer.go
Lines 60 to 85 in d04888e
Expected behavior Creating the timer object before the for loop.
Screenshots
Environment (please complete the following information):
asynq
Additional context
The text was updated successfully, but these errors were encountered:
hibiken
Successfully merging a pull request may close this issue.
Describe the bug
timer.After() creates a new timer object each time it is called. Which can cause a memory leak in the for loop.
asynq/subscriber.go
Lines 61 to 74 in d04888e
asynq/syncer.go
Lines 60 to 85 in d04888e
To Reproduce
Expected behavior
Creating the timer object before the for loop.
Screenshots
Environment (please complete the following information):
asynq
package v0.24.1Additional context
The text was updated successfully, but these errors were encountered: