File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ async function parseArguments(): Promise<Parsed> {
151
151
. option ( 'apiKey' , {
152
152
string : true ,
153
153
} )
154
+ // TODO: add some variable like: 'rotateSecret' to trigger rotating the secret from the generic records
154
155
. config ( )
155
156
. env ( 'AFJ_REST' )
156
157
. parseAsync ( ) as Promise < Parsed >
Original file line number Diff line number Diff line change @@ -289,6 +289,10 @@ export async function runRestAgent(restConfig: AriesRestConfig) {
289
289
// As backup is only supported for sqlite storage
290
290
// we need to manually take backup of the storage before updating the storage
291
291
backupBeforeStorageUpdate : false ,
292
+ // Ideally for testing connection between tenant agent we need to set this to 'true'. Default is 'false'
293
+ // TODO: triage: not sure if we want it to be 'true', as it would mean parallel requests on BW
294
+ // Setting it for now
295
+ processDidCommMessagesConcurrently : true ,
292
296
}
293
297
294
298
async function fetchLedgerData ( ledgerConfig : {
@@ -397,6 +401,7 @@ export async function runRestAgent(restConfig: AriesRestConfig) {
397
401
398
402
await agent . initialize ( )
399
403
404
+ // TODO: add some variable like: 'rotateSecret' to trigger rotating the secret from the generic records
400
405
const genericRecord = await agent . genericRecords . getAll ( )
401
406
const recordsWithSecretKey = genericRecord . some ( ( record ) => record ?. content ?. secretKey )
402
407
You can’t perform that action at this time.
0 commit comments