Skip to content

[v12] Improve LDAP desktop discovery#30463

Merged
zmb3 merged 1 commit intobranch/v12from
bot/backport-30383-branch/v12
Aug 16, 2023
Merged

[v12] Improve LDAP desktop discovery#30463
zmb3 merged 1 commit intobranch/v12from
bot/backport-30383-branch/v12

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 14, 2023

Backport #30277 to branch/v12

In environments with many desktops where some DNS queries time out,
we can run in to situations where the discovery loop doesn't complete
before the desktop's 10m TTL expires, causing desktops to disappear
and reappear sporadically.

- Increase the TTL for LDAP-discovered desktops to 30m. This won't
  harm UX, since desktops that stop being discovered are already
  purged prior to their expiration.
- Perform both DNS queries (via the default resolver and by hitting
  the LDAP server directly) in parallel. This reduces the maximum
  time a single lookup can take from 20s to 5s.
@zmb3 zmb3 changed the title [v12] [v13] Improve LDAP desktop discovery [v12] Improve LDAP desktop discovery Aug 14, 2023
@zmb3 zmb3 added this pull request to the merge queue Aug 16, 2023
Merged via the queue into branch/v12 with commit e5a9a0b Aug 16, 2023
@zmb3 zmb3 deleted the bot/backport-30383-branch/v12 branch August 16, 2023 15:45
@camscale camscale mentioned this pull request Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants