Skip to content
Snippets Groups Projects
Commit 9b484d10 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

increase timeout for mining API

parent 7acd1829
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ public class MiningApi {
LOGGER.info("Akka is trying to reach remote " + wokenRefPath);
ActorSelection wokenActor = actorSystem.actorSelection(wokenRefPath);
Timeout timeout = new Timeout(Duration.create(5, "seconds"));
Timeout timeout = new Timeout(Duration.create(10, "seconds"));
Future<Object> future = Patterns.ask(wokenActor, query.prepareQuery(), timeout);
QueryResult result;
try {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment