Skip to content

Commit

Permalink
fix: run one time job
Browse files Browse the repository at this point in the history
  • Loading branch information
mckrava committed Mar 13, 2024
1 parent 7fe33c8 commit dfb063a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type OneTimeJob = { id: string; action: string } & {

const oneTimeJobsList: OneTimeJob[] = [
{
id: '1707177600',
action: 'activeStakingHandleDailyAggregationJob',
id: '1710336390624',
action: 'removeAllActiveJobs',
payload: {},
},
];
Expand Down Expand Up @@ -60,7 +60,7 @@ export class OneTimeJobsManagerService {
const jobDetails = migrationsMap.get(jobId);

switch (jobDetails.action) {
case 'activeStakingHandleDailyAggregationJob': {
case 'removeAllActiveJobs': {
try {
await this.accountAggregationFlowProducer.removeAllActiveJobs();
await this.datasourceChunksParallelHandlingProducer.removeAllActiveJobs();
Expand Down

0 comments on commit dfb063a

Please sign in to comment.