Fix copy/paste error in poll timeout config

This commit is contained in:
Derry Hamilton 2019-06-18 08:31:46 +01:00
parent 5571bd1b4d
commit af46f83799

View file

@ -110,7 +110,7 @@ public class CopyingApp {
Integer pollTimeout = null; Integer pollTimeout = null;
try { try {
pollTimeout = new Integer(config.getString("nRowsToLog")); pollTimeout = new Integer(config.getString("pollTimeout"));
log.info(String.format("%s - Setting Poll timeout to %s milliseconds", jobName, pollTimeout)); log.info(String.format("%s - Setting Poll timeout to %s milliseconds", jobName, pollTimeout));
} catch(Exception e) { } catch(Exception e) {
pollTimeout = new Integer(1000); // If we don't have a new setting, use the old default pollTimeout = new Integer(1000); // If we don't have a new setting, use the old default