暂存提交

This commit is contained in:
2026-08-19 17:22:03 +08:00
parent 064247a8c9
commit 26eba227eb
6 changed files with 11 additions and 8 deletions
@@ -23,7 +23,7 @@ public class OverseasEventDispatcher {
@Resource private EventDispatcherProperties properties;
private final String leaseOwner = ManagementFactory.getRuntimeMXBean().getName() + ":" + UUID.randomUUID();
@Scheduled(fixedDelayString = "${baiyue.event-dispatcher.fixed-delay:3s}")
@Scheduled(fixedDelayString = "${baiyue.event-dispatcher.fixed-delay:3000}")
public void dispatch() {
for (String eventId : inboxMapper.dispatchCandidates(properties.batchSize())) {
dispatchOne(eventId);