Have you tried setting the polling timeout?

goog.appengine.DevSocket.POLLING_TIMEOUT_MS

http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/dev-channel-js.js#5234



Robert






On Fri, Jun 3, 2011 at 13:23, PK <[email protected]> wrote:
> Thanks Nick.
>
> Is so frequent polling really necessary though? My feedback is that
> you need to look at this implementation again. In my app, I would be
> fine to wait up  to 5-15 seconds for channel notifications on the dev
> server. If other apps are more sensitive maybe the interval can be
> made configurable.
>
> CPU usage at 50%-80% on my high end Macbook Pro because I use channels
> is not an acceptable development environment. Again if you observe
> different results in your lab and is my fault please let me know.
>
> Thanks again for your attention,
> PK
>
> --
> 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.
>
>

-- 
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.

Reply via email to