Help Center>
Distributed Cache Service>
FAQs>
Redis Commands>
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Updated on 2022-09-15 GMT+08:00
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Redis command timeouts can be controlled on the client end or server end.
- Timeouts on the client end are controlled in the client code. You can determine the timeouts that suit service needs. For example, if you use Lettuce, a Java client, configure the timeout parameter.
- On the server end, the timeout parameter is set to 0 by default, indicating that connections will never be terminated. Modify the parameter setting by referring to Modifying Configuration Parameters.
Parent topic: Redis Commands
Redis Commands FAQs
- Does DCS for Redis Support Command Audits?
- How Do I Clear Redis Data?
- How Do I Find Specified Keys and Traverse All Keys?
- Why Do I Fail to Execute Some Redis Commands?
- Why is "permission denied" Returned When I Run the Keys Command in Web CLI?
- How Do I Rename High-Risk Commands?
- Does DCS for Redis Support Pipelining?
- Does DCS for Redis Support the INCR and EXPIRE Commands?
- Why Does a Redis Command Fail to Take Effect?
- Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
- Can I Configure Redis Keys to Be Case-Insensitive?
- Common Web CLI Errors
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.
more