#30361: Watchman timing out when loading server
-----------------------------------------+------------------------
               Reporter:  Jacobkg        |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Uncategorized  |        Version:  2.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 When starting the server on my project using `./manage.py runserver`, I
 get the error message:

 `Error connecting to Watchman: timed out waiting for response, while
 executing ('watch-project', 'my_app')`

 I am using Watchman v4.9 on an Ubuntu 16.04 Docker image hosted on Mac OS
 X 10.14.4.

 My research shows that there is a default 1 second timeout in `pywatchman`
 that Django is using. In my tests, for our particular project it takes
 between 1 and 2 seconds to start the initial root watchman query, and thus
 will always time out when started with Django.

 My suggestion is that we increase the pywatchman client timeout higher
 than 1 second

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30361>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.d403f8cffbcc175a3efc38f5f5b86009%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to