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

Ensure node-red is up before attempting a sell transaction #58

Open
dan13ram opened this issue Sep 7, 2020 · 0 comments
Open

Ensure node-red is up before attempting a sell transaction #58

dan13ram opened this issue Sep 7, 2020 · 0 comments

Comments

@dan13ram
Copy link
Collaborator

dan13ram commented Sep 7, 2020

If node-red is down after sell transaction is confirmed, then the threadInfo is not updated on node-red.
This results in the threadInfo being lost, and that particular file can never be downloaded.

Thus, we could do a health-check on the node-red service before doing the sell transaction.
Or perhaps even change the order of calls so that the threadInfo is updated first before doing the on-chain transaction.

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

No branches or pull requests

1 participant