mirror of
https://gitee.com/iteaj/iboot.git
synced 2026-09-01 15:26:10 +08:00
Revert "update: 改scheduleAtFixedRate /scheduleWithFixedDelay 以long 表示时间间隔的方法,改成java.time.Duration"
This reverts commit d0b6f697b0.
This commit is contained in:
+2
-2
@@ -92,8 +92,8 @@ public class EventSourceCollectService implements ApplicationReadyListener {
|
||||
|
||||
if ("millisecond".equals(source.getPeriodType())) {
|
||||
// 毫秒级采集
|
||||
// spring6.0 弃用 scheduleAtFixedRate /scheduleWithFixedDelay
|
||||
// 以long 表示时间间隔的方法,改成java.time.Duration
|
||||
|
||||
// spring6.0 弃用 scheduleAtFixedRate /scheduleWithFixedDelay 以long 表示时间间隔的方法,改成java.time.Duration
|
||||
if (source.getRateType()==1) {
|
||||
scheduledFuture = scheduler.scheduleAtFixedRate(
|
||||
new EventSourceTask(scheduler, source, cacheManager),
|
||||
|
||||
Reference in New Issue
Block a user