Merge pull request #237 from SpenceZhou/master

Update RedisScheduler.java
pull/246/merge
Yihua Huang 9 years ago
commit cfde3b7657

@ -119,7 +119,7 @@ public class RedisScheduler extends DuplicateRemovedScheduler implements Monitor
public int getTotalRequestsCount(Task task) {
Jedis jedis = pool.getResource();
try {
Long size = jedis.scard(getQueueKey(task));
Long size = jedis.scard(getSetKey(task));
return size.intValue();
} finally {
pool.returnResource(jedis);

Loading…
Cancel
Save