doc-exports/docs/dcs/umn/dcs-faq-0427057.html
Chen, Junjie 3b672beb23 DCS UMN 20230208 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2023-06-23 13:27:54 +00:00

1.4 KiB

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.