Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore inconsistent RPC response on initial send #146

Merged
merged 3 commits into from
Jan 17, 2023

Conversation

lok52
Copy link
Collaborator

@lok52 lok52 commented Jan 13, 2023

Changes:

  • Now, in case initial transaction send fails in poolTxWorker a job will not be considered as failed. The same transaction will be re-sent later by sentTxWorker. The only exception is insufficient balance error which will cause job to fail permanently.
  • Remove unused redis field transferNum
  • Refactor sentTxWorker. Logic remains the same as before, I just extracted the functionality into separate functions for better readability.
  • Minor logging improvements.

@akolotov akolotov changed the base branch from devel to main January 17, 2023 09:37
@lok52 lok52 changed the title Enhancement/refactor workers Ignore inconsistent RPC response on initial send Jan 17, 2023
@lok52 lok52 force-pushed the enhancement/refactor-workers branch from b405e98 to 150a15b Compare January 17, 2023 10:47
@lok52 lok52 force-pushed the enhancement/refactor-workers branch from 150a15b to 718a940 Compare January 17, 2023 10:49
@akolotov akolotov merged commit 359914f into main Jan 17, 2023
@akolotov akolotov deleted the enhancement/refactor-workers branch January 17, 2023 13:43
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.

2 participants