You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error occurs when I change the application's business thread to a virtual thread and the traffic suddenly increases:
Caused by: java.util.NoSuchElementException: Timeout waiting for idle object
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:461)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:375)
at redis.clients.util.Pool.getResource(Pool.java:49)
at credis.java.client.pool.impl.CRedisJedisPool.getResource(CRedisJedisPool.java:103)
Redis / Jedis Configuration
Java version:jdk21
The text was updated successfully, but these errors were encountered:
Jedis does not have any official release supporting virtual threads. But it expected from 5.2.0. In the mean time, the support is available in latest 5.2.0-SNAPSHOTs.
@sazzad16 is it fixed already in the 5.2.0-SNAPSHOT version? At our company, we want to ditch Redisson in favor of Jedis simplicity and this bug is the only thing preventing us from doing it, because we do use Java 21 with Virtual Threads quite extensively.
Actual behavior
The following error occurs when I change the application's business thread to a virtual thread and the traffic suddenly increases:
Redis / Jedis Configuration
Java version:jdk21
The text was updated successfully, but these errors were encountered: