This closes #383 Added back Timer intialization
This commit is contained in:
commit
e0f5cb6eee
|
@ -119,7 +119,7 @@ public class JDBCJournalImpl implements Journal {
|
||||||
deleteJournalRecords = connection.prepareStatement(JDBCJournalRecord.deleteRecordsSQL(tableName));
|
deleteJournalRecords = connection.prepareStatement(JDBCJournalRecord.deleteRecordsSQL(tableName));
|
||||||
deleteJournalTxRecords = connection.prepareStatement(JDBCJournalRecord.deleteJournalTxRecordsSQL(tableName));
|
deleteJournalTxRecords = connection.prepareStatement(JDBCJournalRecord.deleteJournalTxRecordsSQL(tableName));
|
||||||
|
|
||||||
|
syncTimer = new Timer(timerThread, true);
|
||||||
syncTimer.schedule(new JDBCJournalSync(this), SYNC_DELAY * 2, SYNC_DELAY);
|
syncTimer.schedule(new JDBCJournalSync(this), SYNC_DELAY * 2, SYNC_DELAY);
|
||||||
|
|
||||||
started = true;
|
started = true;
|
||||||
|
|
Loading…
Reference in New Issue