Skip to content

Commit

Permalink
Merge pull request #1165 from jembi/PLAT-249-reduce-rerun-time
Browse files Browse the repository at this point in the history
Plat 249 reduce rerun time
  • Loading branch information
michaelloosen authored Nov 3, 2022
2 parents 999047c + 0236a38 commit 5ece1a1
Show file tree
Hide file tree
Showing 10 changed files with 563 additions and 188 deletions.
6 changes: 4 additions & 2 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@
"maxPayloadSizeMB": 50,
"truncateSize": 15000,
"truncateAppend": "\n[truncated ...]",
"authenticationTypes": ["token"]
"authenticationTypes": ["basic", "token"]
},
"rerun": {
"httpPort": 7786,
"host": "localhost",
"processor": {
"enabled": true,
"pollPeriodMillis": 2000
}
},
"taskTransactionsLength": 50,
"activeConcurrentTasks": 3
},
"tcpAdapter": {
"httpReceiver": {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openhim-core",
"description": "The OpenHIM core application that provides logging and routing of http requests",
"version": "7.0.2",
"version": "7.1.0",
"main": "./lib/server.js",
"bin": {
"openhim-core": "./bin/openhim-core.js"
Expand Down
2 changes: 1 addition & 1 deletion src/alerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const findTransactionsMaxRetried = (channel, alert, dateFrom, callback) =>
status: 500,
autoRetryAttempt: channel.autoRetryMaxAttempts
},
{transactionID: 'transactionID'}
{transactionID: 1}
)
// .hint({created: 1})
.exec((err, transactions) => {
Expand Down
Loading

0 comments on commit 5ece1a1

Please sign in to comment.