vgritsenko 02/04/19 10:28:30
Modified: src/webapp/WEB-INF Tag: cocoon_2_0_3_branch cocoon.xconf
Log:
Change default reload method to synchron
Revision Changes Path
No revision
No revision
1.4.2.2 +5 -10 xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- cocoon.xconf 10 Apr 2002 09:19:09 -0000 1.4.2.1
+++ cocoon.xconf 19 Apr 2002 17:28:30 -0000 1.4.2.2
@@ -456,22 +456,17 @@
Set to "yes", the sitemap is regenerated if it changes.
The reload-method specifies the method for the regeneration:
- asynchron: If the sitemap changes, the sitemap is regenerated at the
- next request in the background and the incoming request is
- served with the old sitemap. All subsequent requests are
- served with the old sitemap until the regeneration in the
- background has finished.
+ asynchron: WARNING: this reload method is broken and won't be fixed.
+ Synchron is now made default and preferred reload method.
synchron: If the sitemap changes, the sitemap is regenerated at the
next request. When the regeneration is finished, the request
(and all subsequent ones) is served with the new sitemap.
- For development environment, set the reload-method to synchron and the
- check-reload to yes.
- For production environment, it is advisable to set the reload-method to
- asynchron and for more safety the check-reload to no.
+ For development environment, set the check-reload to yes.
+ For production environment, it is advisable to set the check-reload to no.
-->
<sitemap class="org.apache.cocoon.sitemap.SitemapManager"
- file="sitemap.xmap" reload-method="asynchron" check-reload="yes"
logger="sitemap"/>
+ file="sitemap.xmap" reload-method="synchron" check-reload="yes"
logger="sitemap"/>
<!--
New implementation of the sitemap. It is interpreted, so load times are
super-fast,
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]