Re: [Django] #30361: Watchman timing out when loading server

2019-04-26 Thread Django
#30361: Watchman timing out when loading server
-+-
 Reporter:  Jacob Green  |Owner:  Jacob Green
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"e45763193fe496cefc6749c45e6a31e62f987d63" e4576319]:
 {{{
 #!CommitTicketReference repository=""
 revision="e45763193fe496cefc6749c45e6a31e62f987d63"
 [2.2.x] 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.

 Backport of ed3c59097a01ed3f32f8a8bed95307fb5c181251 from master
 }}}

-- 
Ticket URL: 
Django 
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/065.f16d8eecccf14cfd27f449215f875eb2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-26 Thread Django
#30361: Watchman timing out when loading server
-+-
 Reporter:  Jacob Green  |Owner:  Jacob Green
 Type:  Bug  |   Status:  closed
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"ed3c59097a01ed3f32f8a8bed95307fb5c181251" ed3c590]:
 {{{
 #!CommitTicketReference repository=""
 revision="ed3c59097a01ed3f32f8a8bed95307fb5c181251"
 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.
 }}}

-- 
Ticket URL: 
Django 
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/065.8a8a54845219994cc7eb2a34343662f5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-26 Thread Django
#30361: Watchman timing out when loading server
-+-
 Reporter:  Jacob Green  |Owner:  Jacob Green
 Type:  Bug  |   Status:  assigned
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by felixxm):

 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
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/065.944ace3718555b01025a0a9d142d8789%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-20 Thread Django
#30361: Watchman timing out when loading server
-+---
 Reporter:  Jacob Green  |Owner:  Jacob Green
 Type:  Bug  |   Status:  assigned
Component:  Utilities|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+---
Changes (by Jacob Green):

 * owner:  nobody => Jacob Green
 * status:  new => assigned
 * has_patch:  0 => 1
 * component:  Uncategorized => Utilities


Comment:

 I submitted a Pull Request, with the proposal that this be backported onto
 2.2 since it improves the functionality of a feature released as part of
 2.2

 [https://github.com/django/django/pull/11263 PR]

-- 
Ticket URL: 
Django 
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/065.a22ddd61f7636f16081e7174dc643a97%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-19 Thread Django
#30361: Watchman timing out when loading server
---+
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Jacob Green):

 I tried out this change (increasing timeout to 5 seconds) and that fixed
 my issue:

 https://github.com/django/django/compare/stable/2.2.x...Jacobkg:Jacobkg-
 patch-1

 I'm happy to submit this as a patch if there is interest

-- 
Ticket URL: 
Django 
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/065.85c64bcb010460fa5e799b001b9d7c72%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-16 Thread Django
#30361: Watchman timing out when loading server
---+
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by James Addison):

 I've just found that adding a `.watchmanconfig` file to add the
 `ignore_dirs` directive seemed to help (I assume this would allow watchman
 to start more quickly).  See
 https://facebook.github.io/watchman/docs/config.html#ignore_dirs

 {{{
 {
   "ignore_dirs": ["node_modules", ".envs", "bin", "lib", "include",
 ".git", ".idea", "templates", "static_assets"]
 }
 }}}

 It certainly isn't a fix - but as mentioned in the Django docs, it's worth
 investigating as a bandaid.

-- 
Ticket URL: 
Django 
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/065.0d9488760a088c5f4984ae69668d8aec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-16 Thread Django
#30361: Watchman timing out when loading server
---+
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Jacob Green):

 I run into the issue consistently on our codebase so I can repro it.
 Tobias, how would you recommend that I test against your patch? I know how
 to install Django from pypi but I don't know how to install it from a
 fork.

 Also I may be misreading but in the commit that you linked it seems that
 you lowered the timeout to 0.2s instead of raising it above 1.0s. Perhaps
 that was unintentional?

-- 
Ticket URL: 
Django 
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/065.1b4eb9ca0b6fc58d548143e6aaaed980%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-15 Thread Django
#30361: Watchman timing out when loading server
---+
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tobias Kunze):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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/065.bac3dfd5fb2e4a9d730544b6293b02e5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-15 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Tobias Kunze):

 A more generous default timeout might be a better choice than a
 configuration option, in my opinion. In any case it would be great if
 somebody who runs into this consistently could test
 [https://github.com/rixx/django/commit/ec873d1448ebe922502c517c8ef90f441f1813ab
 my patch] or provide one of their own.

-- 
Ticket URL: 
Django 
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/065.03004e61a5ccf058a33ad9dbd5c39b6f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-15 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Peter J. Farrell):

 We are seeing the same issue especially the container starts (less often
 if it's just a server reload). It appears the timeout on pywatchman needs
 to be configurable from Django in this case as 1.0 seconds is too low in
 certain circumstances.

-- 
Ticket URL: 
Django 
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/065.00d7687bfbbb96dac699a78b6a28cc5a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-15 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Tobias Kunze):

 * cc: Tobias Kunze (added)


-- 
Ticket URL: 
Django 
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/065.70e63cd0ab4d92159045814229821f6d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-14 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Tobias Kunze):

 I had this issue occur on my machine, but I can't reproduce it. Is it
 reproducible for you, Jacob? If so, could you check if
 [https://github.com/rixx/django/tree/ticket_30361 this] solves the issue?
 If it does, I'll submit it as PR.

-- 
Ticket URL: 
Django 
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/065.72391609de506be065aa8528d51dbf47%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-13 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacob Green|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Daniel Hepper):

 Jacob, just wanted to let you know that the two URLs you posted are
 identical. I assume that was not intentional.

-- 
Ticket URL: 
Django 
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/065.405c998220e8f0e3f9a4d03adc904907%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30361: Watchman timing out when loading server

2019-04-12 Thread Django
#30361: Watchman timing out when loading server
---+--
 Reporter:  Jacobkg|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Uncategorized  |  Version:  2.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Jacobkg):

 This is where I would consider setting a higher client timeout:
 
https://github.com/django/django/blob/99cfb28e995388db109e2f2ed15307f09945dda8/django/utils/autoreload.py#L390

 We set a lower client timeout here as an example:
 
https://github.com/django/django/blob/99cfb28e995388db109e2f2ed15307f09945dda8/django/utils/autoreload.py#L390

-- 
Ticket URL: 
Django 
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/065.28e00759238826051537a2a7e64cc6fc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.