You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2020/11/07 20:05:36 UTC

[jspwiki] 15/23: make search-related background threads become active faster

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit 5603db89c9dbccd2cca79c4673c83f83605e60ee
Author: juanpablo <ju...@apache.org>
AuthorDate: Sat Nov 7 18:41:11 2020 +0100

    make search-related background threads become active faster
---
 .../src/main/resources/jspwiki-custom.properties                    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/jspwiki-it-tests/jspwiki-selenide-tests/src/main/resources/jspwiki-custom.properties b/jspwiki-it-tests/jspwiki-selenide-tests/src/main/resources/jspwiki-custom.properties
index a817306..20cc9cd 100644
--- a/jspwiki-it-tests/jspwiki-selenide-tests/src/main/resources/jspwiki-custom.properties
+++ b/jspwiki-it-tests/jspwiki-selenide-tests/src/main/resources/jspwiki-custom.properties
@@ -27,7 +27,7 @@ jspwiki.workDir                            = ${project.basedir}/target/test-clas
 log4j.appender.FileLog.File                = ${project.basedir}/target/test-classes/jspwiki-${it-jspwiki.context}.log
 log4j.appender.SecurityAppender.File       = ${project.basedir}/target/test-classes/security-${it-jspwiki.context}.log
 
-#                                                              
+#
 # Other overrides of standard jspwiki.properties file
 #
 jspwiki.xmlGroupDatabaseFile = ${project.basedir}/target/test-classes/groupdatabase.xml
@@ -35,6 +35,10 @@ jspwiki.xmlUserDatabaseFile = ${project.basedir}/target/test-classes/userdatabas
 
 jspwiki.login.throttling = false
 
+# integration tests should start page indexing as soon as possible
+jspwiki.lucene.initialdelay = 0
+jspwiki.lucene.indexdelay = 1
+
 log4j.logger.SecurityLog=INFO, SecurityAppender
 log4j.appender.SecurityAppender = org.apache.log4j.RollingFileAppender
 log4j.appender.SecurityAppender.layout = org.apache.log4j.PatternLayout