fe42880 Providers: Delay online check on startup

2 files Authored by thalman 5 years ago, Committed by jhrozek 5 years ago,
    Providers: Delay online check on startup
    
    Typical usecase is system startup or network restart. In such
    cases SSSD receives several messages from the system about
    network change and immediately starts connecting.
    With multiple addresses on interface or multiple interfaces
    SSSD receives even more messages.
    
    This patch introduces 1s delay for online check after first
    message.
    
    Online callback tries 3 times to go online. There is increasing
    delay between online checks up to 4s.
    
    Resolves: https://pagure.io/SSSD/sssd/issue/3467
    
    Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+1 -0