From e422144b94595909a5bfd5841384d1ea95e3ba3e Mon Sep 17 00:00:00 2001 From: skynetcap <100323448+skynetcap@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:54:12 -0700 Subject: [PATCH] Adjust ObCrankerApplication task frequency 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. --- .../java/markets/arcana/obcranker/ObCrankerApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java index 10f2191..395a433 100644 --- a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java +++ b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java @@ -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 {