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
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.