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

When API get restarted, we lose all coins listeners #66

Open
haythemsellami opened this issue Dec 2, 2019 · 1 comment
Open

When API get restarted, we lose all coins listeners #66

haythemsellami opened this issue Dec 2, 2019 · 1 comment

Comments

@haythemsellami
Copy link
Member

If for some reasons the API get restarted, we no longer have the listeners we created for spaces coins to sync with humhub. SO we should add a script to do that whenver the API get restarted.

@haythemsellami
Copy link
Member Author

I added the js script code.
@craxrev @gdalyy Can u guys test this ? add the script to run in the server service when it start (in dev or test), add a listener to a space a,d restart the listener, u should catch the transfer event after that also...

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