File tree 1 file changed +3
-3
lines changed
lra/coordinator/server/src/main/java/io/helidon/lra/coordinator
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2021, 2024 Oracle and/or its affiliates.
2
+ * Copyright (c) 2021, 2025 Oracle and/or its affiliates.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -165,15 +165,15 @@ LazyValue<URI> coordinatorURL() {
165
165
166
166
private void init () {
167
167
lraPersistentRegistry .load (this );
168
- recoveryTask = Scheduling .fixedRateBuilder ()
168
+ recoveryTask = Scheduling .fixedRate ()
169
169
.delay (config .get ("recovery-interval" ).asLong ().orElse (200L ))
170
170
.initialDelay (200 )
171
171
.timeUnit (TimeUnit .MILLISECONDS )
172
172
.task (this ::tick )
173
173
.build ();
174
174
175
175
if (config .get ("periodical-persist" ).asBoolean ().orElse (false )) {
176
- persistTask = Scheduling .fixedRateBuilder ()
176
+ persistTask = Scheduling .fixedRate ()
177
177
.delay (config .get ("persist-interval" ).asLong ().orElse (5000L ))
178
178
.initialDelay (200 )
179
179
.timeUnit (TimeUnit .MILLISECONDS )
You can’t perform that action at this time.
0 commit comments