记得上下班打卡 | git大法好,push需谨慎

Commit b186f89d authored by Administrator's avatar Administrator 🎨

Merge branch 'pre' into 'master'

~queue;

See merge request !211
parents fa8810a6 e886d089
......@@ -65,7 +65,7 @@ public class RedisStreamConfig {
System.out.println("errorHandler: " + t.getMessage());
})
// 超时时间,设置为0,表示不超时(超时后会抛出异常)
.pollTimeout(Duration.ZERO)
.pollTimeout(Duration.ofMillis(1))
.build();
return StreamMessageListenerContainer.create(factory, options);
}
......
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