Skip to content

Commit 5ece1a1

Browse files
Merge pull request #1165 from jembi/PLAT-249-reduce-rerun-time
Plat 249 reduce rerun time
2 parents 999047c + 0236a38 commit 5ece1a1

File tree

10 files changed

+563
-188
lines changed

10 files changed

+563
-188
lines changed

config/default.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@
3939
"maxPayloadSizeMB": 50,
4040
"truncateSize": 15000,
4141
"truncateAppend": "\n[truncated ...]",
42-
"authenticationTypes": ["token"]
42+
"authenticationTypes": ["basic", "token"]
4343
},
4444
"rerun": {
4545
"httpPort": 7786,
4646
"host": "localhost",
4747
"processor": {
4848
"enabled": true,
4949
"pollPeriodMillis": 2000
50-
}
50+
},
51+
"taskTransactionsLength": 50,
52+
"activeConcurrentTasks": 3
5153
},
5254
"tcpAdapter": {
5355
"httpReceiver": {

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openhim-core",
33
"description": "The OpenHIM core application that provides logging and routing of http requests",
4-
"version": "7.0.2",
4+
"version": "7.1.0",
55
"main": "./lib/server.js",
66
"bin": {
77
"openhim-core": "./bin/openhim-core.js"

src/alerts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const findTransactionsMaxRetried = (channel, alert, dateFrom, callback) =>
257257
status: 500,
258258
autoRetryAttempt: channel.autoRetryMaxAttempts
259259
},
260-
{transactionID: 'transactionID'}
260+
{transactionID: 1}
261261
)
262262
// .hint({created: 1})
263263
.exec((err, transactions) => {

0 commit comments

Comments
 (0)