[jitsi-dev] Increased chat buffer size (3000 -> 50000)


#1

Hi all,

I've increased the chat buffer size for the ChatConversationPanel from
3000 to 50,000 chars.

Before this change the IRC chat conversations got really short,
especially after modifing the "original_message" attribute value to
store the original message as base64. I traced back the original value
to somewhere in 2009 and there does not seem to be much (documented)
reasoning behind the choice.

I've tested this buffer and it now holds about 1,5 hours of conversation
in a fairly active chat room, so that seems reasonable to me. Given that
we're talking characters, this shouldn't have much impact on memory usage.

Danny


#2

Welcome change, thank you!

···

Am 04.01.2015 um 21:59 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi all,

I've increased the chat buffer size for the ChatConversationPanel from
3000 to 50,000 chars.

Before this change the IRC chat conversations got really short,
especially after modifing the "original_message" attribute value to
store the original message as base64. I traced back the original value
to somewhere in 2009 and there does not seem to be much (documented)
reasoning behind the choice.

I've tested this buffer and it now holds about 1,5 hours of conversation
in a fairly active chat room, so that seems reasonable to me. Given that
we're talking characters, this shouldn't have much impact on memory usage.

Danny

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Cool. I'd noticed that the history was kind of short, but never thought to mention it.

Boris

···

On 04/01/15 22:59, Danny van Heumen wrote:

Hi all,

I've increased the chat buffer size for the ChatConversationPanel from
3000 to 50,000 chars.

Before this change the IRC chat conversations got really short,
especially after modifing the "original_message" attribute value to
store the original message as base64. I traced back the original value
to somewhere in 2009 and there does not seem to be much (documented)
reasoning behind the choice.

I've tested this buffer and it now holds about 1,5 hours of conversation
in a fairly active chat room, so that seems reasonable to me. Given that
we're talking characters, this shouldn't have much impact on memory usage.