Skip to content

Conversation

@chedieck
Copy link
Collaborator

Related to #732

Description

Adds logic to run syncing job such that every tx is resynced. This makes so that the one line diff:

--- a/jobs/initJobs.ts                                      
+++ b/jobs/initJobs.ts                                      
@@ -35,7 +35,7 @@ const main = async (): Promise<void> => { 
   }                                                        
   const flowJobSyncAndSubscribeXECAddresses: FlowJob = {   
     queueName: initTransactionsQueue.name,                 
-    data: { networkId: XEC_NETWORK_ID },                   
+    data: { networkId: XEC_NETWORK_ID, fully: true },      
     name: 'syncAndSubscribeXECAddressesFlow',              
     opts: {                                                
       removeOnFail: false,                                 

...is enough to rerun jobs in prod and resync all addresses.

Test plan

@Klakurka Klakurka merged commit ac1de34 into master Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants