misc smaller changes and change example config to include time based SQL condition to prevent loss of in-flight data.

This commit is contained in:
Joe
2019-02-25 06:42:15 -06:00
parent 61ef23cc91
commit 84c045f6c8
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
"serverURI": "http://localhost:2222",
"maxResultsPerMessage":100,
"statements":{
"poller":"'select top ' + config.maxResultsPerMessage + ' * from rpslog where pkey > \\'' + maxPKey + '\\' order by pkey'"
"poller":"'select top ' + config.maxResultsPerMessage + ' * from rpslog with (nolock) where pkey > \\'' + maxPKey + '\\' and businessModified < dateAdd(mi,-30, getdate()) order by pkey'"
},
"pollIntervalIdle": 10000,
"UP_sqlConfig": {