ee84c6a Rate-limit while loop in SystemdService.is_active().

1 file Authored by pspacek 8 years ago, Committed by tbabej 8 years ago,
    Rate-limit while loop in SystemdService.is_active().
    
    Previously is_active() was frenetically calling systemctl is_active in
    tight loop which in fact made the process slower.
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+5 -0