Explorar el Código

exit when oauth state is deleted

abhishek9686 hace 1 año
padre
commit
d53105fd7a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
 		}
 	}()