Skip to content

Commit

Permalink
Adjust ObCrankerApplication task frequency
Browse files Browse the repository at this point in the history
The frequency of running the task in ObCrankerApplication has been changed. Instead of every 5 seconds, the task will now run every 2500 milliseconds, enhancing efficiency and performance.
  • Loading branch information
skynetcap committed Feb 14, 2024
1 parent 98ac81d commit 9064490
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void crankEventHeapLoop() {
log.error("Error cranking SOL/USDC: {}", ex.getMessage(), ex);
}

}, 0, 5, TimeUnit.SECONDS);
}, 0, 2500, TimeUnit.MILLISECONDS);

scheduler.scheduleAtFixedRate(() -> {
try {
Expand Down

0 comments on commit 9064490

Please sign in to comment.