Procházet zdrojové kódy

Let's look at what more retries buys us

Ben Hood před 11 roky
rodič
revize
49dc390e60
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -56,7 +56,7 @@ func createSession(tb testing.TB) *Session {
 	cluster.CQLVersion = *flagCQL
 	cluster.Timeout = 5 * time.Second
 	cluster.Consistency = Quorum
-	cluster.RetryPolicy.NumRetries = 2
+	cluster.RetryPolicy.NumRetries = 10
 
 	initOnce.Do(func() {
 		session, err := cluster.CreateSession()