Hi PK,

This is expected - in the development server, the channel API is implemented
by polling.

-Nick Johnson

On Fri, Jun 3, 2011 at 11:53 AM, PK <[email protected]> wrote:

> I recently started using channels in one of my apps (python).
> Everything seems to work as expected but I noticed my CPU working very
> hard (MacOS). With the DEBUG on I see several channel polling messages
> per second.
>
> I am wondering whether this is normal or I should start digging on
> what I am doing wrong in my app.
>
> Thanks,
> PK
>
> DEBUG    2011-06-03 01:35:51,954 dev_appserver.py:561] Matched "/_ah/
> channel/dev?command=poll&channel=.....&client=1" to
> <google.appengine.tools.dev_appserver_channel.ChannelDispatcher object
> at 0x11d7dae10> with path
> DEBUG    2011-06-03 01:35:51,954 channel_service_stub.py:183] Checking
> for messages on channel (....) (False)
> DEBUG    2011-06-03 01:35:51,977 dev_appserver.py:4149] "GET /_ah/
> channel/dev?command=poll&channel=....&client=1 HTTP/1.1" 200 -
> DEBUG    2011-06-03 01:35:52,423 dev_appserver.py:561] Matched "/_ah/
> channel/dev?command=poll&channel=channel-1639315196-6....&client=1" to
> <google.appengine.tools.dev_appserver_channel.ChannelDispatcher object
> at 0x11d7dae10> with path
> DEBUG    2011-06-03 01:35:52,423 channel_service_stub.py:183] Checking
> for messages on channel (channel-1639315196-.....) (False)
> DEBUG    2011-06-03 01:35:52,451 dev_appserver.py:4149] "GET /_ah/
> channel/dev?command=poll&channel=channel-1639315196-6.....&client=1
> HTTP/1.1" 200 -
> DEBUG    2011-06-03 01:35:52,792 dev_appserver.py:561] Matched "/_ah/
> channel/dev?command=poll&channel=channel-3758094918-...&client=1" to
> <google.appengine.tools.dev_appserver_channel.ChannelDispatcher object
> at 0x11dc04190> with path
> DEBUG    2011-06-03 01:35:52,792 channel_service_stub.py:183] Checking
> for messages on channel (channel-3758094918-.....) (False)
> ....
>
> --
> 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.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

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