Skip to content

Commit

Permalink
Merge pull request #7849 from martinfurmanski/3.1-bs-tmo
Browse files Browse the repository at this point in the history
core-edge: longer timeout for binding to cluster
  • Loading branch information
mneedham committed Sep 2, 2016
2 parents 94422f2 + cfbfcc3 commit bc76366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private ClusterId bindToCluster() throws IOException, InterruptedException, Time
}
else
{
throw new TimeoutException( "Failed binding to cluster in time." );
throw new TimeoutException( "Failed binding to cluster in time. Last topology was: " + topology );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public ClusteringModule( DiscoveryServiceFactory discoveryServiceFactory, Member
topologyService = discoveryServiceFactory.coreTopologyService( config, myself, discoveredMemberRepository,
logProvider );
BindingService bindingService = new BindingService( clusterIdStorage, topologyService, logProvider,
Clocks.systemClock(), () -> sleep( 100 ), 60000 );
Clocks.systemClock(), () -> sleep( 100 ), 300_000 );

life.add( topologyService );
life.add( bindingService );
Expand Down

0 comments on commit bc76366

Please sign in to comment.