Selaa lähdekoodia

Update log message

theenglishway (time) 2 vuotta sitten
vanhempi
commit
e762518cf6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/main/scala/Utils.scala

+ 1 - 1
src/main/scala/Utils.scala

@@ -30,7 +30,7 @@ object Utils {
           case exc: requests.RequestFailedException
           case exc: requests.RequestFailedException
               if exc.response.statusCode == 429 => {
               if exc.response.statusCode == 429 => {
             println("Got 429 error, retrying after 1s")
             println("Got 429 error, retrying after 1s")
-            println("Don't panic, this should work again within 10-15s after the last successful request")
+            println("Don't panic, this should work again within 20s after the last successful request")
             Thread.sleep(1000)
             Thread.sleep(1000)
             get_and_decode[T](endpoint, params)
             get_and_decode[T](endpoint, params)
           }
           }