Author: bpapez
Date: Mon Sep 17 11:23:04 2007
New Revision: 18513

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18513&repname=
=3Djahia
Log:
change default values for parallel processings, page generation wait time, =
read only mode

Modified:
    trunk/core/src/java/org/jahia/settings/SettingsBean.java
    trunk/core/src/webapp/WEB-INF/etc/config/jahia.skeleton

Modified: trunk/core/src/java/org/jahia/settings/SettingsBean.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/java/o=
rg/jahia/settings/SettingsBean.java&rev=3D18513&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/java/org/jahia/settings/SettingsBean.java (original)
+++ trunk/core/src/java/org/jahia/settings/SettingsBean.java Mon Sep 17 11:=
23:04 2007
@@ -338,7 +338,7 @@
     private boolean useFlatFileManager;
     private boolean showTimeBasedPublishingIcons;
     private boolean developmentMode =3D true;
-    private boolean readOnlyMode =3D true;
+    private boolean readOnlyMode =3D false;
     private boolean waiAutoAddMissingAttributes;
     private int connectionTimeoutForProductionJob;
 =

@@ -376,11 +376,11 @@
     private int webdavSearchMaxHits =3D 300;
 =

     // Core engine page generation queue configuration parameters
-    private int maxParallelProcessings =3D 10;
-    private long pageGenerationWaitTime =3D 120000; // in milliseconds    =

-    private long pageGenerationWaitTimeOnStartup =3D 0; // in milliseconds
+    private int maxParallelProcessings =3D 40;
+    private long pageGenerationWaitTime =3D 30000; // in milliseconds    =

+    private long pageGenerationWaitTimeOnStartup =3D 10000; // in millisec=
onds
     private int suggestedRetryTimeAfterTimeout =3D 60; // in seconds
-    private int suggestedRetryTimeAfterTimeoutOnStartup =3D 10; // in seco=
nds
+    private int suggestedRetryTimeAfterTimeoutOnStartup =3D 15; // in seco=
nds
     =

     private int editModeSessionTimeout =3D 2*60*60; // 2 hours
 =


Modified: trunk/core/src/webapp/WEB-INF/etc/config/jahia.skeleton
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp=
/WEB-INF/etc/config/jahia.skeleton&rev=3D18513&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/webapp/WEB-INF/etc/config/jahia.skeleton (original)
+++ trunk/core/src/webapp/WEB-INF/etc/config/jahia.skeleton Mon Sep 17 11:2=
3:04 2007
@@ -526,10 +526,10 @@
 #
 # This variable controls how many threads are allowed to do heavy weight =

 # processing (page creation not served from the cache)
-maxParallelProcessings                                 =3D 10
+maxParallelProcessings                                 =3D 40
 # This variable controls how long threads are waiting to be able to start
 # generating pages in heavy load situations (value in milliseconds)
-pageGenerationWaitTime                                 =3D 120000
+pageGenerationWaitTime                                 =3D 30000
 # This variable controls the setting of the HTTP Retry-After header, which=
 is sent
 # back to the client with a HTTP status code 503 (Service temporarily unav=
ailable).  =

 # It could be used also to trigger an automatic reload (value in seconds).
@@ -537,7 +537,7 @@
 # This variable controls how long threads are waiting to be able to start
 # generating pages, when load is coming during server startup =

 # (value in milliseconds)
-pageGenerationWaitTimeOnStartup                        =3D 0
+pageGenerationWaitTimeOnStartup                        =3D 10000
 # This variable controls the setting of the HTTP Retry-After header, which=
 is sent
 # back to the client with a HTTP status code 503 (Service temporarily unav=
ailable),  =

 # when it was triggered during server startup. It could be used also to tr=
igger =


_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to