On Mon, Feb 7, 2011 at 6:02 PM, Tim <[email protected]> wrote: > > I've starred #4506 and #4507, but if Moishe is reading, I have a request > for a change for the Channel API as implemented by the Dev server (ie the > SDK)... it currently polls once a second, and when I'm trying to watch and > count my AJAX calls (say the Networks tab in Chrome Developer Tools) then > this constant pinging gets pretty annoying. > > Given that the dev code is very different to the production code, would it > be possible to expose a couple of calls to tweak it.. maybe pause, resume, > and setInterval methods ? Then I could call these from the console as > needed... or have people found some way to avoid this issue? > > You can change the dev-server polling interval in your JavaScript code quite easily. For example:
goog.appengine.Socket.POLLING_TIMEOUT_MS = 5000; // 5 seconds -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
