Commit 7af339bb authored by 赵啸非's avatar 赵啸非

异常日志前端展示添加

parent 4cd4f3b4
...@@ -105,7 +105,7 @@ public class RabbitConfig { ...@@ -105,7 +105,7 @@ public class RabbitConfig {
configurer.configure(factory, connectionFactory); configurer.configure(factory, connectionFactory);
// 额外添加批量消费的属性 // 额外添加批量消费的属性
factory.setBatchListener(true); factory.setBatchListener(true);
factory.setBatchSize(1); factory.setBatchSize(10);
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