Commit 6f794689 authored by 赵啸非's avatar 赵啸非

异常日志前端展示添加

parent 329a54a0
...@@ -99,7 +99,7 @@ public class RabbitConfig { ...@@ -99,7 +99,7 @@ public class RabbitConfig {
configurer.configure(factory, connectionFactory); configurer.configure(factory, connectionFactory);
// 额外添加批量消费的属性 // 额外添加批量消费的属性
factory.setBatchListener(true); factory.setBatchListener(true);
factory.setBatchSize(5); factory.setBatchSize(1);
factory.setReceiveTimeout(5 * 1000L); factory.setReceiveTimeout(5 * 1000L);
factory.setConsumerBatchEnabled(true); factory.setConsumerBatchEnabled(true);
return factory; return factory;
......
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