-
Notifications
You must be signed in to change notification settings - Fork 48
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
Long-polling HTTP request timed out, stopping polling #40
Comments
Thanks! I'll look into it soon. As a temporary workaround, try maybe adding a timeout? (def channel (p/start token handler {:timeout 10})) |
I have the same issue. Adding |
Same thing happened to me, any news on this issue yet? |
Here Line 43 in bbb2efc
I've added (System/exit 1) right after (close! updates) , to crash app instead of freeze. This is a bad solution, but I haven't come up with anything better to prevent freezes :(
You can create file
And then require this |
Thanks for the quick reply, I'll try it out! |
Thanks for the workaround. It really "solved" my problem. And I use it also for the ::api/error branch. Anyway, does anybody have an explanation why these problem arise in the first place? |
FWIW on
|
Maybe it will be useful for somebody. 0.3.1 - the last version that works with long-polling without this issue. 0.3.2 was rewritten to use async that fails with time-out unfrotufately. |
Long-polling
sample code from README.md
returned
ERROR morse.polling - HTTP request timed out, stopping polling
The text was updated successfully, but these errors were encountered: