summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2019-05-27 12:50:05 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-29 09:43:10 +0200
commit7089502b98f80e8dc1c8f6e85fb0620809aec30e (patch)
treee32f72e1e55dee96102e0d25cf6f4c568b831b2a /docs
parentace0bec804d0bd74e1ecddbe3ea9a8b5b5d0a718 (diff)
[2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen before - i.e on the first iteration of the loop. If the mtime has been changed we triggered the notify_file_changed() method which in all cases except the translations will result in the process being terminated. To be strictly correct we need to update the mtime for either branch of the conditional. Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b. Backport of 480492fe70b0bb7df61c00854dc8535c9d21ba64 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/2.2.2.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/2.2.2.txt b/docs/releases/2.2.2.txt
index e95fa343fc..bcaac9f15d 100644
--- a/docs/releases/2.2.2.txt
+++ b/docs/releases/2.2.2.txt
@@ -28,3 +28,7 @@ Bugfixes
* Fixed a regression in Django 2.2 that caused a crash of auto-reloader when
an exception with custom signature is raised (:ticket:`30516`).
+
+* Fixed a regression in Django 2.2.1 where auto-reloader unnecessarily reloads
+ translation files multiple times when using ``StatReloader``
+ (:ticket:`30523`).