Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhanced file touch checker #61

Merged
merged 1 commit into from
Nov 27, 2012
Merged

enhanced file touch checker #61

merged 1 commit into from
Nov 27, 2012

Conversation

prymitive
Copy link
Contributor

I've noticed that if I use --touch-reload with path pointing to non-existing file, than uWSGI will spam my logs with unable to stat() XXX, events will be triggered as soon as the file is created so in effort to get rid of that I've modified uwsgi_check_touches() a little bit. Changes:

  • unable to stat() ... will be printed only once
  • uwsgi_check_touches() will react to watched files being created or deleted, not only modified

Merge this if reload should be handled on create/delete. IMHO it should at least on create, right now I need to create file and then modify its time stamp.

unbit added a commit that referenced this pull request Nov 27, 2012
@unbit unbit merged commit de33a4a into unbit:master Nov 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants