Skip to content

Commit

Permalink
chore: Updated CCL and Yaci dependencies (#188)
Browse files Browse the repository at this point in the history
* chore: Updated CCL and Yaci dependencies

* chore: Add keepAlive number in the log message to track response
  • Loading branch information
satran004 committed Feb 1, 2024
1 parent 2f35b3c commit 79ea3cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,12 @@ private synchronized void startKeepAliveThread(boolean syncMode) {
int interval = storeProperties.getKeepAliveInterval();
while (true) {
try {
if (log.isDebugEnabled())
log.debug("Sending keep alive");

Thread.sleep(interval);
int randomNo = getRandomNumber(0, 60000);

if (log.isDebugEnabled())
log.debug("Sending keep alive : " + randomNo);

if (syncMode)
blockSync.sendKeepAliveMessage(randomNo);
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.bloxbean.cardano.client.api.exception.ApiException;
import com.bloxbean.cardano.client.api.model.EvaluationResult;
import com.bloxbean.cardano.client.api.model.Result;
import com.bloxbean.cardano.client.backend.ogmios.OgmiosBackendService;
import com.bloxbean.cardano.client.backend.ogmios.http.OgmiosBackendService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[libraries]
yaci = "com.bloxbean.cardano:yaci:0.3.0-beta9-8f1b8d8-SNAPSHOT"
cardano-client-lib = "com.bloxbean.cardano:cardano-client-lib:0.5.0"
cardano-client-backend = "com.bloxbean.cardano:cardano-client-backend:0.5.0"
cardano-client-backend-ogmios = "com.bloxbean.cardano:cardano-client-backend-ogmios:0.5.0"
yaci = "com.bloxbean.cardano:yaci:0.3.0-beta9"
cardano-client-lib = "com.bloxbean.cardano:cardano-client-lib:0.5.1"
cardano-client-backend = "com.bloxbean.cardano:cardano-client-backend:0.5.1"
cardano-client-backend-ogmios = "com.bloxbean.cardano:cardano-client-backend-ogmios:0.5.1"
rocks-types="com.bloxbean:rocks-types:0.0.1-preview6"

cbor = "co.nstant.in:cbor:0.9"
Expand Down

0 comments on commit 79ea3cc

Please sign in to comment.