Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

setTimeout 0 needed in graph simulator #3

Open
michielbdejong opened this issue Nov 11, 2016 · 0 comments
Open

setTimeout 0 needed in graph simulator #3

michielbdejong opened this issue Nov 11, 2016 · 0 comments

Comments

@michielbdejong
Copy link
Member

I would think each message processed leads to adding a number of messages to the queue and then returns synchronously, but for some reason, if you don't use a setTimeout between propagate iterations in test/helpers/graph.js, it reaches maximum callstack size. A console.log statement in each iteration also does the job, which means that console.log is not a usable method to investigate this problem. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant