Commit 0769adc3 authored by God Ly's avatar God Ly Committed by it2000

OF-268 HSQLDB: log file size 200MB->20MB and write delay 20s->1s

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11722 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3f1ba918
......@@ -380,3 +380,12 @@ INSERT INTO ofUser (username, plainPassword, name, email, creationDate, modifica
// Entry for default conference service
INSERT INTO ofMucService (serviceID, subdomain, isHidden) VALUES (1, 'conference', 0);
// The value is the size in megabytes that the .log file can reach before an automatic
// checkpoint occurs. A checkpoint rewrites the .script file and clears the .log file
// see http://www.hsqldb.org/doc/guide/ch04.html#hsqldb.log_size
SET LOGSIZE 20
// This controls the frequency of file sync for the log file.
// see http://www.hsqldb.org/doc/guide/ch09.html#set_write_delay-section
SET WRITE_DELAY 1000 MILIS;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment