----- Oryginalna wiadomość ----- > Od: "Roberto De Ioris" <[email protected]> > Do: "uWSGI developers and users list" <[email protected]> > Wysłane: środa, 21 wrzesień 2011 6:09:09 > Temat: Re: [uWSGI] uwsgi.add_file_monitor > > 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) > > > signal table is currently "static", until it will be editable in > every > part you cannot remove handlers/monitor > > > 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)
THX I create my own layer to handle this. -- Łukasz Wróblewski http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe http://www.hostowisko.pl/ - Profesjonalny i tani hosting http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
