Remove use of Timeout.timeout from LDAP adapter

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

We use Timeout.timeout in lib/gitlab/ldap/adapter.rb, but this function is broken in Ruby and does not play well with threads:

https://github.com/rails/rails/issues/22031#issuecomment-150378180

This may be causing issues in a customer's installation, but we don't have hard proof yet: https://gitlab.zendesk.com/agent/tickets/56118

Edited Jun 16, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading