> Firstly, it was nice to be able to see a list of files that are monitored.


there is no kernel way (in none of the supported os) to get this list, so
the only way is creating one in a higher layer (like uwsgidecorators.py)


>
> Secondly, could use a command to remove monitored files.


signal table is currently "static", until it will be editable in every
part you cannot remove handlers/monitor

>
> Thirdly, when we add the file to monitor should be checked whether the
> file is no already added.


it is the same matter of problem 1, without a list we have no way to know
if a monitor is already registered (remember that users could want to
assign multiple signals to a monitor, so it is perfectly legal to re-add a
file)

You can build this list yourself (use the uwsgi.signal_registered(signum)
to check if a signal is already registered)
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to