aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-04Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)1-38/+72
This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
2011-07-04refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)1-102/+131
already been done for the memory cache
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)1-0/+2
Disabled temporarily since file system caching disrupts subsequent test runs
2011-06-11If the flotsam asset cache console command "fcache clear" is specified on ↵Justin Clark-Casey (justincc)1-11/+26
its own, clear both memory and file caches
2011-06-11Make the internal flotsam asset cache defaults match ↵Justin Clark-Casey (justincc)1-29/+35
config-include/FlotsamCache.ini.example. Enable the flotsam console commands even if FlotsamCache.ini isn't present. For the most part, defaults are made to match those already in FlotsamCache.ini.example. The one exception is that the 48 hour file timeout from the code is used instead of the 0 hours that was in the example file. This can be tweaked if necessary. Most importantly, the default cache directory is now ./assetcache (as in FlotsamCache.ini.example) rather than ./FlotsamAssetCache (as was the internal code default). Therefore, if you were using flotasm without using the config file, then please rename your cache directory or start using the ini file and change the default there if you want to keep using your existing cache.
2011-02-25Make the file expiration defaults the same whether the whole [FLOTSAM ASSET ↵Justin Clark-Casey (justincc)1-3/+3
CACHE] section is missing or just the particular config values
2011-02-25instead of using different default memory expiration depending on whether ↵Justin Clark-Casey (justincc)1-11/+2
there is a [FLOTSAM ASSET CACHE] section present at all, use the same default all the time this simplifies the code
2011-02-25log actual cache directory for FlotsamAssetCache instead of always logging ↵Justin Clark-Casey (justincc)1-1/+1
the default
2011-02-25Fix bug where having no maximum memory cache timeout would cause the flotsam ↵Justin Clark-Casey (justincc)1-1/+1
asset cache to try using Double.MaxValue, which would cause the underlying OpenMetaverse.ExpiringCache to choke. There is probably an underlying bug to fix in ExpiringCache.
2010-10-04Revert "Add linden prim renderer and update libOMV"Melanie1-2/+2
This reverts commit 766ce9a14146dc9814d488364f5c931d0fa96a17.
2010-10-04Add linden prim renderer and update libOMVMelanie1-2/+2
2010-09-07Rolling back the recent libomv update but keeping the ExpiringCache cleanups ↵John Hurliman1-1/+1
(as much as is possible). There was a report of non-finite avatar positions after the update
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman1-1/+1
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-0/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-1/+1
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
2010-02-19minor: Make FlotsamAssetCache default loglevel 0 to match that given in ↵Justin Clark-Casey (justincc)1-2/+2
bin/config-include/FlotsamCache.ini.example
2010-01-29Apply http://opensimulator.org/mantis/view.php?id=4548Justin Clark-Casey (justincc)1-1/+1
Fix command params check on fcache expire <datetime> Thanks coyled
2009-11-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-10-21* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman1-6/+2
Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-20* Removing cruft left over from the conversion to the new texture sending ↵John Hurliman1-31/+20
and UDP code * Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman1-2/+2
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-19Formatting cleanup.Jeff Ames1-2/+2
2009-10-120004246: [Patch] FlotsamAssetCache deep scan & cacheMelanie1-37/+270
Thank you, mcortez.
2009-10-05* minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)1-4/+1
2009-10-04Stream needs to be closed before the file can be moved...Diva Canto1-5/+6
2009-10-04Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto1-4/+12
fails.
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-25More small changes to FlotsamAssetCache as per mcortez' request.Diva Canto1-2/+2
2009-09-10* Another Timer lockTeravus Ovares (Dan Olivares)1-1/+4
2009-09-09* Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)1-1/+4
murky. This affects Mono only.
2009-09-08Thank you, mcortez, for a patch to fix errors in FlotsamCache and expandMelanie1-28/+130
functionality, adding console commands.
2009-08-28Standardize FlotsamAssetCache headerJustin Clark-Casey (justincc)1-25/+25
Add mcortez to CONTRIBUTORS Other minor tidy of CONTRIBUTORS
2009-08-27Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid ↵Justin Clark-Casey (justincc)1-51/+0
duplication and divergence with config-include/FlotsamCache.ini.example
2009-08-27Apply http://opensimulator.org/mantis/view.php?id=3829Justin Clark-Casey (justincc)1-1/+1
Fix file access violation on Flotsam cache Thanks mcortez
2009-08-10Replace the Replaceable modules nameMelanie1-1/+1
2009-08-01Add copyright header. Formatting cleanup.Jeff Ames1-1/+1
2009-07-29Thank you, coyled, for a patch to change Flotsamcache path generationMelanie Thielker1-4/+4
to avoid directory overflow.
2009-07-28Thank you, mcortez, for a patch to correct a folder bloat issue in theMelanie Thielker1-3/+54
Flotsam Asset Cache. Fixes mantis #3950
2009-07-10Committing the interface change and the addition to the modules to getMelanie Thielker1-0/+5
the ball rolling on replacable modules. No user functionality yet
2009-06-10Reverse the default setting in Flotsam Asset Cache. Nothing should be the ↵Melanie Thielker1-1/+1
default
2009-06-10Formatting cleanup.Jeff Ames1-3/+3
2009-06-09Letting the Flotsam cache be enabled even when [AssetCache] section is ↵diva1-8/+9
missing. Thank you mcortez!
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames1-3/+3
2009-06-09Update svn properties.Jeff Ames1-523/+523
2009-06-08Updating the flotsam asset cache. Thank you, mcortez!Melanie Thielker1-438/+523
Fixes Mantis #3784
2009-06-05Committing mcortez's FlotsamAssetCache after several positive reviews.Melanie Thielker1-0/+438
Thank you, mcortez!