diff --git a/pom.xml b/pom.xml index 82787d9..2307ba9 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ com.mmorrell openbook - 1.21.3 + 1.21.8 diff --git a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java index 4cd30f0..69afd57 100644 --- a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java +++ b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java @@ -38,7 +38,7 @@ public static void main(String[] args) { @EventListener(ApplicationReadyEvent.class) public void crankEventHeapLoop() { - OpenBookManager manager = new OpenBookManager(new RpcClient(endpoint, 5)); + OpenBookManager manager = new OpenBookManager(new RpcClient(endpoint, 10)); Account tradingAccount = null; try { @@ -58,7 +58,8 @@ public void crankEventHeapLoop() { Optional transactionId = manager.consumeEvents( finalTradingAccount, marketId, - 8 + 8, + "Cranked by arcana.markets \uD83E\uDDD9" ); if (transactionId.isPresent()) { @@ -79,7 +80,8 @@ public void crankEventHeapLoop() { Optional transactionId = manager.consumeEvents( finalTradingAccount, market.getMarketId(), - 8 + 8, + "Cranked by arcana.markets \uD83E\uDDD9" ); if (transactionId.isPresent()) {