Fixed #30361 -- Increased the default timeout of watchman client to 5 seconds and made it customizable.

Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.
This commit is contained in:
Jacob Green 2019-04-23 09:08:05 -07:00 committed by Mariusz Felisiak
parent efeceba589
commit ed3c59097a
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B
5 changed files with 22 additions and 2 deletions

View file

@ -897,6 +897,11 @@ more robust change detection, and a reduction in power usage.
for optimal performance. See the `watchman documentation`_ for information
on how to do this.
.. admonition:: Watchman timeout
The default timeout of ``Watchman`` client is 5 seconds. You can change it
by setting the ``DJANGO_WATCHMAN_TIMEOUT`` environment variable.
.. _Watchman: https://facebook.github.io/watchman/
.. _pywatchman: https://pypi.org/project/pywatchman/
.. _watchman documentation: https://facebook.github.io/watchman/docs/config.html#ignore_dirs