1. log format is invalid:

2011-02-07 18:23:12 - announcing my loyalty to the Emperor...
Sat Jul  2 18:23:24 2011 - received uwsgi signal 2 from a worker
Sat Jul  2 18:23:24 2011 - error managing signal 2 on worker 2

should be:

2011-02-07 18:23:12 - announcing my loyalty to the Emperor...
2011-02-07 18:23:24 - received uwsgi signal 2 from a worker




2. typo in http://projects.unbit.it/uwsgi/wiki/SignalFramework

"rignal" > "signal"




3. "workers" send the signal to all the workers (still not implemented)

Is this still not implemented?
The tests show that, yes.
I wanted to send a signal to all workers, but only one receives it.

def test(a): print('...test..')
uwsgi.register_signal(2, "workers", test)

and raise it by uwsgi.signal(2)




4. Is the following example should not work properly?

class Test:
    def test(a):
        print('...test..')
        
t = Test()
uwsgi.register_signal(2, "workers", t.test)



-- 
Ł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

Reply via email to