[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-99-g9bcbbe2

Andreas Beckmann anbe at debian.org
Mon Feb 25 10:56:47 UTC 2013


The following commit has been merged in the develop branch:
commit c4962329bee2afc205f235e2f01df7847ed59319
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Feb 24 21:16:15 2013 +0100

    p-s: clear idle state after sighup to continue asap
    
    if there are unchecked packages after a sighup, try to rerun
    this section as early as possible and finish the work
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piuparts-slave.py b/piuparts-slave.py
index 4ae0051..5445920 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -433,7 +433,8 @@ class Section:
                             processed = self._process()
                             if got_sighup and self._slave.get_reserved():
                                 # keep this section at the front of the round-robin runnable queue
-                                pass
+                                self._idle_wait_until = 0
+                                self._recycle_wait_until = 0
                             else:
                                 # put this section at the end of the round-robin runnable queue
                                 self._idle_wait_until = time.time()

-- 
piuparts git repository



More information about the Piuparts-commits mailing list