question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More granular timeouts

See original GitHub issue

Redis supports millisecond timeouts on SET with PX, but BLPOP understands only integer seconds. This is still achievable by using publish/subscribe with a bit more hustle.

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zonicommented, Jul 30, 2015

@jhorman (and anyone else coming by this issue), what Redis does when running out of memory depends on the specific eviction policy you have configured.

For this use-case (distributed locking, especially with low-TTL keys), setting a noeviction policy might be wise.

0reactions
dimaqqcommented, Sep 15, 2016

Please document noeviction requirement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Zend HttpClient more granular timeouts? - Stack Overflow
I'm happy to enter a ticket to ZendFramework to support smaller, more granular timeouts but wanted to first see if this is a...
Read more >
What is Prebid timeout and how to optimize it? - Automatad
Be more granular to ensure the timeouts are not happening due to a particular device or the internet speed in a specific geography,...
Read more >
More granular retry support · Issue #260 · urllib3 ... - GitHub
We want to retry all connection errors and connection timeouts - these indicate the request never made it to the other machine. We...
Read more >
[#DIRAPI-378] Finer-grain timeouts - ASF JIRA - Apache
More granular timeouts are in order: connect timeout, write/read operation timeout, close timeout, send timeout. For convenience and compatibility, ...
Read more >
Prebid.js Timeout: A Comprehensive Guide For Publishers
Be more granular to ensure the timeouts are not happening due to a particular device or the internet speed in a specific geography,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found