fix: increase poll frequency when waiting for authentication

This commit is contained in:
Johan Siebens
2022-08-31 16:35:55 +02:00
parent cd1854f510
commit 41827dcdcd
+1 -1
View File
@@ -32,7 +32,7 @@ func (s *Service) Authenticate(ctx context.Context, req *connect.Request[api.Aut
}
notify := ctx.Done()
tick := time.NewTicker(5 * time.Second)
tick := time.NewTicker(1 * time.Second)
defer func() {
tick.Stop()