internal/permission/permission.go 🔗
@@ -118,7 +118,7 @@ func (s *permissionService) Request(opts CreatePermissionRequest) bool {
s.Publish(pubsub.CreatedEvent, permission)
// Wait for the response with a timeout to prevent indefinite blocking
- ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
+ ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
defer cancel()
select {