Skip to content

Commit

Permalink
fix: Add message send to avoid the tx db has not submit finish yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanguoyu committed Nov 17, 2023
1 parent ea04f42 commit 42ca13d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default class Queue {
while (true) {
try {
await this.#checkAndSave(txHashes)
process.send?.({ channel: 'tx-db-changed' })
break
} catch (error) {
logger.error('retry saving transactions in 2 seconds due to error:', error)
Expand Down

0 comments on commit 42ca13d

Please sign in to comment.