Skip to content

Use setTimeout instead of recursive calls in service()#102

Open
Dadibom wants to merge 1 commit into
gdaws:masterfrom
Dadibom:master
Open

Use setTimeout instead of recursive calls in service()#102
Dadibom wants to merge 1 commit into
gdaws:masterfrom
Dadibom:master

Conversation

@Dadibom

@Dadibom Dadibom commented Jan 31, 2020

Copy link
Copy Markdown

This solves the issue of Maximum call stack size exceeded by putting the calls on a 0 delay timeout instead of using recursive calls.

@Dadibom

Dadibom commented Mar 3, 2020

Copy link
Copy Markdown
Author

@gdaws been using this for a month now without issues. Please consider merging :)

@gdaws

gdaws commented Mar 3, 2020

Copy link
Copy Markdown
Owner

Cool thanks @Dadibom I'll look at merging this soon I need to get my dev environment setup again and I need to re-familiarise myself with the stompit code. It looks a reasonable solution with my current understanding.

@xTacobaco

Copy link
Copy Markdown

Any updates on this?

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.

3 participants