Skip to content

Commit

Permalink
reduce agenda queue mongodb query issues
Browse files Browse the repository at this point in the history
Running one import at a time should help to reduce the impact on the running ReDBox webapp.
  • Loading branch information
cofiem committed Sep 3, 2024
1 parent 5f45535 commit 59aad22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/resources/config/agendaQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ module.exports.agendaQueue = {
fnName: 'solrsearchservice.solrAddOrUpdate',
options: {
lockLifetime: 3 * 1000, // 3 seconds max runtime
lockLimit: 10,
concurrency: 10
lockLimit: 1,
concurrency: 1
}
},
{
name: 'SolrSearchService-DeleteFromIndex',
fnName: 'solrsearchservice.solrDelete',
options: {
lockLifetime: 3 * 1000, // 3 seconds max runtime
lockLimit: 10,
concurrency: 10
lockLimit: 1,
concurrency: 1
}
},
{
name: 'RecordsService-StoreRecordAudit',
fnName: 'recordsservice.storeRecordAudit',
options: {
lockLifetime: 30 * 1000,
lockLimit: 10,
concurrency: 10
lockLimit: 1,
concurrency: 1
}
},
{
Expand Down

0 comments on commit 59aad22

Please sign in to comment.