Skip to content

Don't schedule an LDAP sync (ldap_sync_all) while it's still running #6810

@a-gerhard

Description

@a-gerhard

Is your feature request related to a problem? Please describe.
I have a longer-running synchronization process (more than 10 hours), and a new synchronization task is triggered every two hours. This slows down the other sync processes significantly, and may make the server to close existing connections.

Describe the solution you'd like
Only schedule ldap_sync_all if there is no other ldap_sync_all task running. Even better would be to make this decision per source.

Describe alternatives you've considered

  • Schedule them, but ldap_sync_all checks if it is running and returns instantly if so.
  • Allow admins to configure the interval (either in global authentik settings, or per source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions