Forráskód Böngészése

exit when oauth state is deleted

abhishek9686 1 éve
szülő
commit
d53105fd7a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      auth/host_session.go

+ 1 - 1
auth/host_session.go

@@ -156,7 +156,7 @@ func SessionHandler(conn *websocket.Conn) {
 				answer <- *cachedReq
 				break
 			}
-			time.Sleep(500) // try it 2 times per second to see if auth is completed
+			time.Sleep(time.Second)
 		}
 	}()