Skip to content

Commit

Permalink
Merge pull request #575 from holographxyz/feature/HOLO-1104-command-t…
Browse files Browse the repository at this point in the history
…o-fix-failed-jobs

Add greedy flag to the recover command
  • Loading branch information
sogoiii authored Aug 31, 2023
2 parents 23c9eee + 828f9cf commit 0bb6259
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/operator/recover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export default class Recover extends OperatorJobAwareCommand {
options: Object.values(OperatorMode),
char: 'm',
}),
greedy: Flags.boolean({
description: 'Enable greedy mode which will retry failed jobs with a higher gas limit in order to execute',
default: false,
}),
'update-db': Flags.boolean({
description: 'Update the DB with the status of the bridge that was being processed',
dependsOn: ['host'],
Expand Down Expand Up @@ -143,6 +147,7 @@ export default class Recover extends OperatorJobAwareCommand {
debug: this.debug,
userWallet,
verbose: false,
greedy: flags.greedy,
})

if (this.apiService !== undefined) {
Expand Down

0 comments on commit 0bb6259

Please sign in to comment.