mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
fix: increase poll frequency when waiting for authentication
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user