Explorar o código

Increase max concurrent reqs per account

Zed hai 1 ano
pai
achega
afad55749b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/auth.nim

+ 1 - 1
src/auth.nim

@@ -5,7 +5,7 @@ import experimental/parser/guestaccount
 
 # max requests at a time per account to avoid race conditions
 const
-  maxConcurrentReqs = 2
+  maxConcurrentReqs = 3
   dayInSeconds = 24 * 60 * 60
   apiMaxReqs: Table[Api, int] = {
     Api.search: 50,