Tonny
Tonny

Reputation: 21

Difference between Redis max-wait and timeout

I can see two properties in my spring boot application. Which uses Redis for session storage

What is the difference between these two?

Upvotes: 2

Views: 2415

Answers (1)

From the Spring Boot reference documentation:

  • spring.redis.jedis.pool.max-wait: Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted.
  • spring.redis.timeout: Read timeout.

Since you mention session storage, you may also want to be aware of spring.session.timeout which configures the session timeout.

Upvotes: 1

Related Questions