File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ export const getConfiguration = async (): Promise<Config> => {
178
178
maxTxsToProcess : 30 ,
179
179
minedTxListenerCronSchedule : "*/5 * * * * *" ,
180
180
maxTxsToUpdate : 50 ,
181
- retryTxListenerCronSchedule : "*/30 * * * * *" ,
182
- minEllapsedBlocksBeforeRetry : 15 ,
181
+ retryTxListenerCronSchedule : "*/10 * * * * *" ,
182
+ minEllapsedBlocksBeforeRetry : 4 ,
183
183
maxFeePerGasForRetries : ethers . utils
184
184
. parseUnits ( "1000" , "gwei" )
185
185
. toString ( ) ,
Original file line number Diff line number Diff line change 29
29
AND "transactionHash" IS NOT NULL
30
30
AND "retryCount" < ${ config . maxRetriesPerTx }
31
31
ORDER BY
32
+ "sentAt",
32
33
"nonce"
33
34
ASC
34
35
LIMIT
Original file line number Diff line number Diff line change @@ -49,21 +49,21 @@ export const retryTx = async () => {
49
49
}
50
50
51
51
const gasOverrides = await getGasSettingsForRetry ( tx , provider ) ;
52
- if (
53
- gasOverrides . maxFeePerGas ?. gt ( config . maxFeePerGasForRetries ) ||
54
- gasOverrides . maxPriorityFeePerGas ?. gt (
55
- config . maxPriorityFeePerGasForRetries ,
56
- )
57
- ) {
58
- // Return if gas settings exceed configured limits. Try again later.
59
- logger ( {
60
- service : "worker" ,
61
- level : "warn" ,
62
- queueId : tx . id ,
63
- message : `${ tx . chainId } chain gas price is higher than maximum threshold.` ,
64
- } ) ;
65
- return ;
66
- }
52
+ // if (
53
+ // gasOverrides.maxFeePerGas?.gt(config.maxFeePerGasForRetries) ||
54
+ // gasOverrides.maxPriorityFeePerGas?.gt(
55
+ // config.maxPriorityFeePerGasForRetries,
56
+ // )
57
+ // ) {
58
+ // // Return if gas settings exceed configured limits. Try again later.
59
+ // logger({
60
+ // service: "worker",
61
+ // level: "warn",
62
+ // queueId: tx.id,
63
+ // message: `${tx.chainId} chain gas price is higher than maximum threshold.`,
64
+ // });
65
+ // return;
66
+ // }
67
67
68
68
logger ( {
69
69
service : "worker" ,
You can’t perform that action at this time.
0 commit comments