Hopefully Moishe sees this: in development mode, the channel api client (javascript) resorts to polling... and uses a very fast polling rate. After poking around I found that if I set
goog.appengine.Socket.POLLING_TIMEOUT_MS = interval;
I can control the polling rate. What I'm wondering is:
-Thank you
Answers:
The client will never go into polling mode in production. The implementation is completely different in prod.
See above
The call to create_channel() will fail and you won't be able to get any more tokens. Existing tokens (and hence channels) will work until they time out.
Hope that helps!
-Moishe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With