on main help sign in
increase timeout to 3min
commite3ca9fe9c86cb446acf95cf2ac5c7d99df22daad authorRaphael Amorim <rapha850@gmail.com> dateTue 24 Jun 2025, 15:18 (1 year ago) parentcaeb245
1 file changed+1−1
internal/permission/permission.go+1−1
internal/permission/permission.go+1−1
@@ -118,7 +118,7 @@ func (s *permissionService) Request(opts CreatePermissionRequest) bool {
118118 s.Publish(pubsub.CreatedEvent, permission)
119119
120120 // Wait for the response with a timeout to prevent indefinite blocking
121− ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
121+ ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
122122 defer cancel()
123123
124124 select {