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 reduced from every 2500 milliseconds to every 2000 milliseconds. This change will increase the task throughput and potentially enhance system performance.
  • Loading branch information
skynetcap committed Mar 19, 2024
1 parent 9064490 commit e422144
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, 2500, TimeUnit.MILLISECONDS);
}, 0, 2000, TimeUnit.MILLISECONDS);

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

0 comments on commit e422144

Please sign in to comment.