> Hi, > > I'm trying to use the add_file_monitor function to detect a change in an > application config file. I put the following in my application: > > def init(): > uwsgi.register_signal(99, 'workers', change_response)
The 'workers' kind of signal is not implemented. It fallback to the default 'worker' or '' that will deliver the signal to the first available worker. > uwsgi.add_file_monitor(99, '/Users/berndtj/Dev/uwsgi/message.txt') > > If I wrap the those calls in a function called from uwsgi.post_fork_hook, > all workers register the signal, and all workers (and more receive the > signal: > > Tu > > In all situations though, the signal is only sent the first time the file > is changed. Subsequent changes do not trigger the signal. This seems > like a bug, as the signal should fire on every change according to the > docs. > > which OS ? -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
