My code look like:
updates = get_updates(...)
channel = get_channel(...)
for update in updates:
    id = memcache.incr('mess id', initial_value=1)
    update['mess_id'] = id
    js = json.dumps(update)
    channel.send_message(channel, js)

I have about 50 updates.

After receive about 20-30 messages client side code receive one message
infinite times and don't receive new messages. For example:
receive 1
receive 2
receive ...
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
...


2011/11/14 Timofey Koolin <timo...@koolin.ru>

> Amy Unruh, i far from any quota deny - all quotas are ok.
> Yes, I know about handle channel disconnect, but I write application for
> internal-use with good internet-connection and i don't want handle
> connect/disconnect and make internal buffer for messages (when channel
> disconnected) if it possible.
>
> I'm send every email as different message.
>
> Yes, I forget about one message size limit - thanks, I try check it.
>
>
> 2011/11/14 Max <thebb...@gmail.com>
>
>> hi Rekby,
>>
>> I am pretty sure your 100 emails just exceed channel API 32K max message
>> size.
>>
>> Check message size before you send
>>
>> Max
>>
>> --
>> 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/-/I_rB81Ns8lsJ.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> --
> Blog: www.rekby.ru
>



-- 
Blog: www.rekby.ru

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to