[Buildbot-devel] Unreliable reconfig?

David Coppit david at coppit.org
Wed Mar 16 02:19:06 UTC 2011

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.

More information about the devel mailing list