[Buildbot-commits] [Buildbot] #2442: Generic polling utility with support for stopping a service

Buildbot trac trac at buildbot.net
Fri Mar 29 03:15:55 UTC 2013


#2442: Generic polling utility with support for stopping a service
------------------------+---------------------
Reporter:  dustin       |       Owner:  dustin
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  0.8.+
 Version:  0.8.7p1      |  Resolution:
Keywords:  sprint       |
------------------------+---------------------

Old description:

> !LoopingCall and !TimedService are OK, but it's hard to make sure they
> stop looping before stopService is complete.  This pattern repeats all
> over Buildbot, with some confusing, difficult-to-test code as the result.
>
> We should have some generic support for this, well-tested, and used
> throughout.

New description:

 !LoopingCall and !TimedService are OK, but it's hard to make sure they
 stop looping before stopService is complete.  This pattern repeats all
 over Buildbot, with some confusing, difficult-to-test code as the result.

 We should have some generic support for this, well-tested, and used
 throughout.

--

Comment (by dustin):

 See #2480 which suggests adding some randomization to spread out events
 that would otherwise fire at exactly the same time.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2442#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list