[Buildbot-devel] Unreliable reconfig?

Dustin J. Mitchell dustin at v.igoro.us
Wed Mar 16 02:22:39 UTC 2011

On Tue, Mar 15, 2011 at 10:19 PM, David Coppit <david at coppit.org> wrote:
> On Mar 15, 2011, at 8:48 PM, Charles Lepple wrote:
>> import foo
>> py_time  = os.stat("foo.py").st_mtime
>> pyc_time = os.stat("foo.pyc").st_mtime
>> if py_time >= pyc_time:
>>    reload(foo)
>> Something like that should minimize the number of reloads, and as
>> such, redefined classes (if your configuration changes consist mostly
>> of adding or removing slaves, etc.)
> Great idea! I'll see about trying it out and report back the results.

Today I learned about
which may also help to solve this problem - take a look, and reply to
let us know how it works out?


More information about the devel mailing list