comparison doc/upgrading.txt @ 7819:0fe2b9f6e19f

issue2551212 - enable wsgi cache_tracker by default Switch the code so the wsgi cache_tracker optimization is enabled by default. Leave the unoptimized/uncached code path available in case it breaks something. The feature flag can be set to False to disable caching. Updated tests to test the disabled (non-cache) code path. Updated upgrading.txt with info on how to disable caching.
author John Rouillard <rouilj@ieee.org>
date Wed, 20 Mar 2024 17:13:30 -0400
parents af898d1d66dc
children 8b31893f5930
comparison
equal deleted inserted replaced
7818:a44c5da250fa 7819:0fe2b9f6e19f
109 109
110 ``updateconfig`` will tell you if it is changing old default 110 ``updateconfig`` will tell you if it is changing old default
111 values or if a value must be changed manually. 111 values or if a value must be changed manually.
112 112
113 This will insert the bad API login rate limiting settings. 113 This will insert the bad API login rate limiting settings.
114
115 Disable performance improvement for wsgi mode (optional)
116 --------------------------------------------------------
117
118 In Roundup version 2.2.0 an experimental option to improve performance
119 when running in wsgi mode was added. It as disabled at that time. In
120 the last two years it has been in use at a few sits with no reports of
121 issues.
122
123 So the default mode is now to enable this improvement. This will get
124 more people using it. In case there is a latent bug that hasn't been
125 discovered, it can still be disabled. To disable it, add the
126 feature_flags to the RequestDispatcher as below:
127
128 feature_flags = { "cache_tracker": False }
129 app = RequestDispatcher(tracker_home, feature_flags=feature_flags)
130
131 and restart your wsgi instance.
114 132
115 Fix duplicate id for confirm password in user.item.html (optional) 133 Fix duplicate id for confirm password in user.item.html (optional)
116 ------------------------------------------------------------------ 134 ------------------------------------------------------------------
117 135
118 The TAL macro ``user_confirm_input`` at the end of ``html/page.html`` 136 The TAL macro ``user_confirm_input`` at the end of ``html/page.html``

Roundup Issue Tracker: http://roundup-tracker.org/