From f34ccdd2225e9a9f216128fc4fd9bc051c4aea02 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 3 Jan 2008 01:45:40 +0000 Subject: Reduce maximum number of items in an inventory packet to approximate Linden servers count, to see if this solves Ursula's inventory problem --- OpenSim/Region/ClientStack/ClientView.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index f7fa775..7bdbb67 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -932,9 +932,9 @@ namespace OpenSim.Region.ClientStack // // http://opensimulator.org/mantis/view.php?id=226 // - // for one example of this kind of thing. So we'll go for a cautious max - // items of 20 which gives a packet size of about 11k - int MAX_ITEMS_PER_PACKET = 20; + // for one example of this kind of thing. In fact, the Linden servers appear to only send about + // 6 to 7 items at a time, so let's stick with 6 + int MAX_ITEMS_PER_PACKET = 6; Encoding enc = Encoding.ASCII; uint FULL_MASK_PERMISSIONS = 2147483647; -- cgit v1.1