Commit 2a522377 by 杨林龙

优化包活干重推功能=== 删除多余的代码

1 parent dc32effc
...@@ -28,7 +28,6 @@ public class RedisDelayQueue { ...@@ -28,7 +28,6 @@ public class RedisDelayQueue {
public Collection<String> getAndRemoveBusinessNo(String taskKey) { public Collection<String> getAndRemoveBusinessNo(String taskKey) {
Set<String> result = Sets.newHashSet(); Set<String> result = Sets.newHashSet();
System.out.println(System.currentTimeMillis());
Set<String> values = redisUtils.zsRangeByScore(taskKey, 0, System.currentTimeMillis()); Set<String> values = redisUtils.zsRangeByScore(taskKey, 0, System.currentTimeMillis());
if (values.isEmpty()) { if (values.isEmpty()) {
return result; return result;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!