mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #256] [FEATURE REQUEST] Specifying Dial/Read/Write Timeouts for the redis.Client #1111
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#1111
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 @dhh93 on GitHub (Mar 24, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/256
Originally assigned to: @hibiken on GitHub.
Thanks for the fantastic library & documentation, it's been great to work with.
Was wondering if we could modify the
RedisClientOpt,RedisFailoverClientOpt, andRedisClusterClientOptstructs behind theRedisConnOptto support customized Dial, Read, and Write timeouts.Currently, the default values are passed when instantiating the
*asynq.Client:In most circumstances, the defaults have been working fine, but I have gotten some
i/o timeouterrors during periods when the underlying redis server is under heavy load.Here's the current definition of the
RedisClientOpt. I think adding fields for the respective timeouts should suffice.@hibiken commented on GitHub (Mar 24, 2021):
@dhh93 Thank you for opening this issue!
Make sense to add these options, it's included in the latest v0.17. release 👍