Skip to content
Discussion options

You must be logged in to vote

My main question is why do you need the server to count down the seconds. Wouldn't it be easier for the client to count the time on its own? The server has to keep track of when the countdown expires, of course, but I don't see why it has to control the client side timer, since both can count seconds on their own and they'll be very close, if not exactly the same.

Celery cannot use main socket io instance and because of that it's impossible to emit events to a specific socket (or i did not find any information how to do it)

See the section on emitting from an external process in the documentation.

On page refresh countdown still going and I need manually to revoke it

You can use the d…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ysomad
Comment options

Answer selected by ysomad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants