#9722: Use pyinotify (where available) instead of polling filesystem every
second
to detect changes
------------------------------------------------+---------------------------
Reporter: lamby | Owner: nobody
Status: new | Milestone:
Component: django-admin.py runserver | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------+---------------------------
Changes (by lamby):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
This doesn't yet for modules that are lazily loaded - need to hook into
the request_finished signal to update the files inotify is waiting on,
otherwise we will never update the watch list (as we are blocking on it
forever). The inotify interface will get in the way a bit here - will
probably require calling oll ourselves with an additional anonymous file
descriptor which (if written to) will tell us to update our watch list.
--
Ticket URL: <http://code.djangoproject.com/ticket/9722#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---