Commit 9e31a0b6 authored by 赵啸非's avatar 赵啸非

rrrrrrrrrrrrrrrrrrrrrrrr

parent f9184667
...@@ -57,6 +57,11 @@ public class TbRabbitMqConsumerTemplate<T extends TbQueueMsg> extends AbstractTb ...@@ -57,6 +57,11 @@ public class TbRabbitMqConsumerTemplate<T extends TbQueueMsg> extends AbstractTb
@Override @Override
protected List<GetResponse> doPoll(long durationInMillis) { protected List<GetResponse> doPoll(long durationInMillis) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
List<GetResponse> result = queues.stream() List<GetResponse> result = queues.stream()
.map(queue -> { .map(queue -> {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment