On Wed, Jan 16, 2013 at 5:36 AM, Ævar Arnfjörð Bjarmason <[email protected]> wrote:
[...] > inotify-hookable deals with this by waiting X ms when it gets a > inotify hit waiting for more events, as long as it keeps getting > events it'll extend the wait a bit more before finally running > hooks. that seems a reasonable approach, and potentially something uWSGI could do for it's own touch-reload, as further improvement. i used to monitor directories, but new files, and especially the creation of .pyc files, would put me in this pathological-seemingly-perpetual reload cycle, causing the server to abort/reload in the middle of API requests because a new module was imported... ...i like the idea of a backoff algorithm to manage this though, thanks, will try and/or make use of your work :) -- C Anthony _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
