aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-21 19:16:29 +0000
committerJustin Clarke Casey2008-03-21 19:16:29 +0000
commit45ea15680444c3ebb009ebc7592c168707fbc0dd (patch)
treeb021a2bb9233df61aa4176990e60f9b1e7b2a831 /OpenSim/Framework
parentImplements llKey2Name(). (diff)
downloadopensim-SC-45ea15680444c3ebb009ebc7592c168707fbc0dd.zip
opensim-SC-45ea15680444c3ebb009ebc7592c168707fbc0dd.tar.gz
opensim-SC-45ea15680444c3ebb009ebc7592c168707fbc0dd.tar.bz2
opensim-SC-45ea15680444c3ebb009ebc7592c168707fbc0dd.tar.xz
* If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
* This may improve region memory usage * This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it * This treats the symptom rather than the cause. * n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/IGridServices.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/IGridServices.cs b/OpenSim/Framework/Communications/IGridServices.cs
index 3e2a5da..daa43ac 100644
--- a/OpenSim/Framework/Communications/IGridServices.cs
+++ b/OpenSim/Framework/Communications/IGridServices.cs
@@ -32,7 +32,14 @@ namespace OpenSim.Framework.Communications
32 public interface IGridServices 32 public interface IGridServices
33 { 33 {
34 string gdebugRegionName { get; set; } 34 string gdebugRegionName { get; set; }
35
36 /// <summary>
37 /// Register a region with the grid service.
38 /// </summary>
39 /// <param name="regionInfos"> </param>
40 /// <returns></returns>
35 RegionCommsListener RegisterRegion(RegionInfo regionInfos); 41 RegionCommsListener RegisterRegion(RegionInfo regionInfos);
42
36 bool DeregisterRegion(RegionInfo regionInfo); 43 bool DeregisterRegion(RegionInfo regionInfo);
37 List<SimpleRegionInfo> RequestNeighbours(uint x, uint y); 44 List<SimpleRegionInfo> RequestNeighbours(uint x, uint y);
38 RegionInfo RequestNeighbourInfo(ulong regionHandle); 45 RegionInfo RequestNeighbourInfo(ulong regionHandle);