f865988 Ticket #634 - Deadlock in DNA plug-in

Authored and Committed by nhosoi 11 years ago
    Ticket #634 - Deadlock in DNA plug-in
    Ticket #576 - DNA: use event queue for config update only at the start up
    
    Bug description: DNA config updates were always put into the
    event queue and executed in 30 seconds, which increased a chance
    to conflict with the ordinary modify operations and cause db
    deadlocks.
    
    Fix description: The 30 seconds delay is necessary at the start-
    up time when MMR is configured to guarantee the shared config is
    logged in the changelog.  This patch leaves the behaviour of the
    config update at the start-up as it is; the rest won't be queued
    but updated immediately.
    
    Note: This patch combines the fix for #576 and #645 in the master.
    
    https://fedorahosted.org/389/ticket/634
    
    Reviewed by Nathan (Thank you!!)
    
        
file modified
+22 -13