[mnet-devel] Re: [mnet-cvs]kb-scaled timeouts

Zooko zooko at zooko.com
Wed Apr 30 21:58:35 BST 2003


> Log Message:
> kb-scaled timeouts
...
> +        kbyte = int(len(cPickle.dumps(firstmsgbody, True))/1024) + 1

This should be "kbyte = (len(firstmsgbody) / 1024) + 1".  We don't pickle 
messages sent over the wire.

Or how about just "byte  = len(firstmsgbody)" ?

--Z



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list