Disconnect the channels manually

75 views
Skip to first unread message

Hariprasath Mohankumar

unread,
Aug 9, 2011, 5:00:07 AM8/9/11
to Google App Engine
Hi,
Is there any way so that i can disconnect the
channel manually and trigger the post to /_ah/channel/
disconnected?


thanks,
Hariprasath Mohankumar

Ernesto Oltra

unread,
Aug 10, 2011, 7:02:03 AM8/10/11
to google-a...@googlegroups.com
I think your answer is yet written in the docs:

Ernesto Oltra

unread,
Aug 10, 2011, 7:05:21 AM8/10/11
to google-a...@googlegroups.com
Sorry, I don't know why I've said "yet" =D

You have to call .close() on the socket javascript object

2011/8/10 Ernesto Oltra <ernest...@gmail.com>
I think your answer is yet written in the docs:

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/S0Mu6EM0ndQJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Hariprasath Mohankumar

unread,
Aug 16, 2011, 4:57:52 AM8/16/11
to Google App Engine
Yes, Im successful in closing the channel by calling .close(). But the
post to /_ah/channel/
disconnected is happening after some considerable delay say 2 to 3
seconds. Whether this delay is normal? Is there any way that i can
speed up the post to /_ah/channel/disconnected ?

Thanks

-Hariprasath

On Aug 10, 4:05 pm, Ernesto Oltra <ernestoka...@gmail.com> wrote:
> Sorry, I don't know why I've said "yet" =D
>
> You have to call .close() on the socket javascript object
>
> 2011/8/10 Ernesto Oltra <ernestoka...@gmail.com>
>
>
>
>
>
>
>
> > I think your answer is yet written in the docs:
>
> >http://code.google.com/intl/en/appengine/docs/python/channel/javascri...

Ernesto Oltra

unread,
Aug 16, 2011, 6:22:33 AM8/16/11
to google-a...@googlegroups.com
I would consider it network delay, between your computer and google talk, google talk and appengine, appengine and your app... but anyway wait to see if some googler has a better response.

2011/8/16 Hariprasath Mohankumar <hariprasath...@gmail.com>
Reply all
Reply to author
Forward
0 new messages