mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #993] [FEATURE REQUEST] I hope the Scheduler can allow me to manually close connections when using shared connections, just like Server does. #1490
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PterX on GitHub (Dec 21, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/993
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
Is your feature request related to a problem? Please describe.
[A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]](asynq: pid=40565 2024/12/21 13:38:01.521847 ERROR: Failed to close redis client connection: redis connection is shared so the Client can't be closed through asynq)
Describe the solution you'd like
It can close redis connect after that
Describe alternatives you've considered
Additional context
@kamikazechaser commented on GitHub (Dec 23, 2024):
I assume you are talking about the bug affecting the Scheduler (See #975)? Try v0.25.1 if so.
@PterX commented on GitHub (Dec 24, 2024):
I think is not the same, I was use NewSchedulerFromRedisClient create Scheduler, it is also shareconnection. But i want shutdown Scheduler before close share connection, It will post the error msg.
@PterX commented on GitHub (Dec 25, 2024):
github.com/PterX/asynq@f8e132031d@kamikazechaser maybe fix like this
@MadanaGopalD commented on GitHub (Feb 14, 2025):
@PterX
github.com/PterX/asynq@f8e132031dI was going though the same issue and your fix worked well for me!
Will this be added to next release?
@PterX commented on GitHub (Feb 14, 2025):
Maybe you can help submit a PR