Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mantis 8181: don't try to delete contents of a non exitent folder | UbitUmarov | 2017-05-26 | 1 | -4/+13 |
| | |||||
* | Squelch an error that happens when the asset cache was mounted RO. | Melanie Thielker | 2017-03-31 | 1 | -0/+3 |
| | | | | Nothing we can do about that, blame Docker. | ||||
* | Refactor asset handling as per Ubit's suggestion | Melanie Thielker | 2017-02-01 | 4 | -36/+34 |
| | |||||
* | Make negative asset caching actually work | Melanie Thielker | 2017-01-30 | 4 | -15/+36 |
| | | | | | | Also fixes some merge artefacts in HGAssetBroker where cached assets were requested but not actually used and completely squelch a materials debug message because there is nothing the user can do to fix it anyway. | ||||
* | Massive tab and trailing space cleanup | Melanie Thielker | 2017-01-05 | 5 | -49/+49 |
| | |||||
* | Add negative caching to flotsam cache. Prevents scripts from hammering the ↵ | Melanie Thielker | 2016-12-29 | 4 | -0/+42 |
| | | | | asset server | ||||
* | Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache ↵ | Melanie Thielker | 2016-12-29 | 4 | -13/+13 |
| | | | | is long gone. | ||||
* | Add an option to update the file access time even when an asset is found in ↵ | Melanie Thielker | 2016-12-29 | 1 | -0/+15 |
| | | | | | | | | cache. When the cache is shared between multiple sims, it is often more efficient to have a single expire job run from cron. Updating file access times is vital to the functioning of such setups. | ||||
* | expire also from weak references | UbitUmarov | 2016-12-29 | 1 | -0/+3 |
| | |||||
* | gc is also a unwanted cache, so use it. With this, memcache with short ↵ | UbitUmarov | 2016-12-29 | 1 | -12/+71 |
| | | | | expires is no longer needed | ||||
* | FloatSamCache: dont use slideexpire on current libovm expirecache. Change ↵ | UbitUmarov | 2016-12-25 | 1 | -26/+49 |
| | | | | example settings to use memory cache with short expire time. ( 20% to 40% mem cache hit rates observed | ||||
* | fix null ref on m_CacheCleanTimer control, add a gc.collect on manual ↵ | UbitUmarov | 2016-11-30 | 1 | -2/+4 |
| | | | | floatsam fcache assets comand | ||||
* | slow down automatic floatsamAssetCache CleanupExpiredFiles LOT to reduce ↵ | UbitUmarov | 2016-11-30 | 1 | -13/+72 |
| | | | | impact on simulation and to give GC more changes of preventing it from eating up all avaialble physcical memory on loaded machines. | ||||
* | bad merge? | UbitUmarov | 2015-09-01 | 1 | -0/+5 |
|\ | |||||
| * | Expect a missing directory, the asset cache is shared. Prevent spew if | Melanie Thielker | 2014-08-18 | 1 | -0/+5 |
| | | | | | | | | two nodes run cleanup at the same time. | ||||
* | | Make the IteratingUuidGatherer the only UuidGatherer. | Justin Clark-Casey (justincc) | 2015-01-08 | 1 | -7/+7 |
| | | | | | | | | | | This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes. | ||||
* | | Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵ | Diva Canto | 2014-12-29 | 1 | -1/+1 |
| | | | | | | | | doesn't need to match the release version number, but I think it's a very good idea that they do. | ||||
* | | Make "fache assets" console command more efficient by only updating access ↵ | Justin Clark-Casey (justincc) | 2014-12-05 | 1 | -17/+24 |
| | | | | | | | | times on each cached asset once, not for every reference. | ||||
* | | If "fcache assets" is executed, don't stop with an exception if there's an ↵ | Justin Clark-Casey (justincc) | 2014-12-04 | 1 | -2/+1 |
| | | | | | | | | | | | | access violation if another thread is operating on the file at the same time. Resolves one issue from http://opensimulator.org/mantis/view.php?id=7271 | ||||
* | | refactor: breakout flotasm cache last file access time to separate ↵ | Justin Clark-Casey (justincc) | 2014-12-04 | 1 | -7/+19 |
| | | | | | | | | UpdateFileLastAccessTime() method for imminent reuse. | ||||
* | | Don't worry about checking FlotsamAssetCache.m_CurrentlyWriting when ↵ | Justin Clark-Casey (justincc) | 2014-12-04 | 1 | -8/+1 |
| | | | | | | | | | | | | updating access time. The majority of updates won't be for anything currently writing and any sharing exception from an actual clash can be caught and ignored anyway. | ||||
* | | refactor: Move methods to start a monitored thread, start work in its own ↵ | Justin Clark-Casey (justincc) | 2014-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere | ||||
* | | Label all threadpool calls being made in core OpenSimulator. This is to add ↵ | Justin Clark-Casey (justincc) | 2014-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats. | ||||
* | | refactor: consistently put all test classes in the OpenSim.Tests.Common ↵ | Justin Clark-Casey (justincc) | 2014-11-25 | 1 | -1/+0 |
| | | | | | | | | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add | ||||
* | | For monitoring purposes, start non-timeout tasks (which do not currently use ↵ | Justin Clark-Casey (justincc) | 2014-09-05 | 1 | -1/+3 |
| | | | | | | | | | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for). | ||||
* | | Actually call Close() for shared region modules when the simulator is being ↵ | Justin Clark-Casey (justincc) | 2014-07-02 | 1 | -3/+6 |
| | | | | | | | | | | | | shutdown. Adds regression test for this case. | ||||
* | | Added assets service method AssetsExist(), which returns whether the given ↵ | Oren Hurvitz | 2014-04-02 | 1 | -0/+12 |
| | | | | | | | | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory. | ||||
* | | - Increased the threadpool timeout to 10 minutes | Oren Hurvitz | 2014-03-26 | 1 | -2/+2 |
|/ | | | | - Changed a few places that launch long-lasting threads to skip the timeout altogether | ||||
* | Materials module: a) Store materials as assets; b) Finalized it (removed the ↵ | Oren Hurvitz | 2014-01-20 | 1 | -2/+2 |
| | | | | | | "Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'. | ||||
* | Remove redundant methods in FlotsamAssetCache | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -10/+0 |
| | |||||
* | implement CoreAssetCache.Check() | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -1/+2 |
| | |||||
* | implement GlynnTuckerAssetCache.Check() | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | Properly implement CenomeAssetCache.Check() | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -2/+4 |
| | |||||
* | Simplify FlotsamAssetCache.CheckFromMemoryCache() | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -6/+1 |
| | |||||
* | Elminate some copy/paste in FlotsamAssetCache.CheckFromFileCache() and use ↵ | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -33/+10 |
| | | | | using() construct to ensure filestream is always closed | ||||
* | elminate unnecessary asset != null check in FlotsamAssetCache.UpdateFileCache() | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -50/+47 |
| | | | | Passed in asset is always not null | ||||
* | Committing the Avination Scene Presence and related texture code | Melanie | 2013-12-11 | 4 | -40/+144 |
| | | | | | | | | | - Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements | ||||
* | Make "fcache status" command also display information on disk/mem cache hit ↵ | Justin Clark-Casey (justincc) | 2013-10-30 | 1 | -18/+38 |
| | | | | rate that is currently only displayed if LogLevel >=1 in [AssetCache] config | ||||
* | Put fcache commands output to console, not log | Justin Clark-Casey (justincc) | 2013-10-30 | 1 | -28/+25 |
| | |||||
* | In the flotasm asset cache, if we get a request for a file that we're ↵ | Justin Clark-Casey (justincc) | 2013-03-30 | 1 | -25/+27 |
| | | | | actively writing, simply return null instead of first logging an exception. | ||||
* | Don't allow exceptions to propogate from FlotsamAssetCache which may occur ↵ | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -32/+57 |
| | | | | | | when deleting expired files or stamping the region status file. Changes various error level log lines to warn since these are not fatal to the operation of OpenSimulator | ||||
* | Log missing assets on "fcache assets" found. This ignores references found ↵ | Justin Clark-Casey (justincc) | 2013-02-02 | 1 | -15/+26 |
| | | | | | | | | by scanning LSL/notecard files since these are the source of false positives. This also changes UuidGatherer to reutn an AssetType.Unknown for embedded script/lsl references instead of Texture, since these are often not textures. This is added to help people in determining when they have missing assets such as textures, etc. In this case, one wants to run "fcache clear" first. | ||||
* | minor: Fix more compiler warnings in CoreModules tests by properly ↵ | Justin Clark-Casey (justincc) | 2012-12-05 | 1 | -1/+3 |
| | | | | overriding OpenSimTestCase.SetUp() | ||||
* | Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵ | Justin Clark-Casey (justincc) | 2012-11-24 | 1 | -1/+1 |
| | | | | automatically turns off any logging enabled between tests | ||||
* | Possibly fixes mantis #6429 (Flotsam cache having a null ref to the asset ↵ | Diva Canto | 2012-11-14 | 1 | -4/+2 |
| | | | | service) | ||||
* | Another 21 modules' directives moved out of .addin.xml | Diva Canto | 2012-11-13 | 3 | -0/+6 |
| | |||||
* | Cleanup on region modules: gave short node id's to all of them. | Diva Canto | 2012-11-12 | 1 | -1/+1 |
| | |||||
* | Cleaning up some confusion with Addin names introduced in a prior commit. ↵ | Diva Canto | 2012-11-10 | 1 | -2/+2 |
| | | | | Also the Flotsam cache module was being given a different Addin name, I removed that. | ||||
* | For FlotsamAssetCache, always update access times of cached scene assets ↵ | Justin Clark-Casey (justincc) | 2012-09-15 | 1 | -20/+17 |
| | | | | | | | | before looking for files to expire. This is to resolve a problem where an asset marked as local but not temporary but still used in the scene would be removed. The timed expiry scan no longer tries to refetch assets from the scene that are not currently in the cache - this is not helpful since it just drags a lot of data into the cache that may never be referenced. This removes the DeepScanBeforePurge option since setting this to false will introduce the above problem. This previously had a default of true. | ||||
* | Adjust namespce of FlotsamCache | BlueWall | 2012-09-09 | 2 | -2/+1 |
| | | | | Place FloatsamCache in the same namespace as our other core asset caches |