> Is it possible to get real signals into Django processes?  I have
> several processes that collect data for analysis, so they run a long
> time normally.  For maintenance purposes, it would be handy to be able
> to send a SIGHUP to the processes and have them shut down cleanly.  I
> read up on the pseudo signals module in Django, but I can see no method
> to handle real signals from a non-Django process.

  Hi,

  yes, sure - Django is just python, so nothing prevents you from
using signals. You'll have to step out of the usual request-response
cycle, however.

  I have an internal project that uses "real" signals, based on
libevent/pyevent. It uses Django ORM for data handling. All works
nicely.

  Cheers

    Jirka

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to