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

backburner calls setTimeout() on server fetch #67

Closed
victor-stone opened this issue Sep 24, 2015 · 5 comments
Closed

backburner calls setTimeout() on server fetch #67

victor-stone opened this issue Sep 24, 2015 · 5 comments

Comments

@victor-stone
Copy link

It doesn't always happen but on certain cases where there's lots of ajax and queued activity backburner will call (window.)setTimeout() causing the app to crash and not return a page. My workaround was to detect the server and stub out the call which is a shaky solution (works for me) but hardly ideal.

@rwjblue
Copy link
Member

rwjblue commented Sep 24, 2015

Can you provide a repo that we can use to reproduce this?

@victor-stone
Copy link
Author

I'm trying - the app has grown a bit but I can confirm it happens every time I make an (n)ajax call of any substance like this one and then 'curl' to the localhost. Hope that helps but I will try to get a test harness up too.

@stefanpenner
Copy link
Contributor

you have hit an auto-run. more details -> http://guides.emberjs.com/v2.0.0/components/run-loop/

@victor-stone
Copy link
Author

that is very likely because I can't repo it using just ajax and promises. I thought I had dodged all the scheduling code under FB but I'll just have to whittle down the app until it stops doing it.

@tomdale
Copy link
Contributor

tomdale commented Feb 2, 2016

setTimeout and clearTimeout should both be exposed now

@tomdale tomdale closed this as completed Feb 2, 2016
arjansingh pushed a commit to arjansingh/ember-cli-fastboot that referenced this issue Oct 29, 2016
xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
Bumping fastboot version to prepare for 1.1.0 release
xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
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

4 participants