Commit Graph

59 Commits

Author SHA1 Message Date
Justin Clark-Casey (justincc)
214b1351fb minor: Make FlotsamAssetCache default loglevel 0 to match that given in bin/config-include/FlotsamCache.ini.example 2010-02-19 21:18:03 +00:00
Jeff Ames
af265e001d Formatting cleanup. 2010-02-15 19:21:56 +09:00
Justin Clark-Casey (justincc)
802a969267 Fix http://opensimulator.org/mantis/view.php?id=4224
This resolves the problem where eyes and hair would turn white on standalone configurations
When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it.
This should have been okay since we stored that asset in cache.  However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white.
This bug did not affect grids since they use a different service connector.
2010-02-12 21:32:03 +00:00
Justin Clark-Casey (justincc)
68bb2dac45 Revert "Old OpenSim installations may have no AssetCaching setting in config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all)"
This will be replaced by a better solution where an enabled baking module will fail if no cache is in place (same for dynamic texture modules)

This reverts commit 7058a4c259.
2010-02-05 19:21:27 +00:00
Justin Clark-Casey (justincc)
7058a4c259 Old OpenSim installations may have no AssetCaching setting in config-include/StandaloneCommon.ini [Modules] (or no [Modules] at all)
If this is the case, this patch makes CenomeAssetCache the default cache (which matches that selected in StandaloneCommon.ini.example)
Not having an asset cache may lead to a continual loop of appearance baking failures and cause dynamic textures not to work, among other effects
2010-02-05 18:09:27 +00:00
Justin Clark-Casey (justincc)
7b53067d6d Apply http://opensimulator.org/mantis/view.php?id=4548
Fix command params check on fcache expire <datetime>
Thanks coyled
2010-01-29 21:52:13 +00:00
Justin Clark-Casey (justincc)
a7af92d5d0 minor: remove some mono compiler warnings 2009-11-09 16:03:15 +00:00
John Hurliman
32ccd5bb40 * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to 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-21 23:03:18 -07:00
John Hurliman
9a5e7222ce * Removing cruft left over from the conversion to the new texture sending 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-20 10:33:23 -07:00
John Hurliman
fdce1be3db * Removed OpenSim.Data.NHibernate
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-19 16:52:27 -07:00
Jeff Ames
0d29614ca1 Formatting cleanup. 2009-10-19 08:58:03 +09:00
Melanie
bf68dad643 0004246: [Patch] FlotsamAssetCache deep scan & cache
Thank you, mcortez.
2009-10-12 23:21:32 +01:00
Justin Clark-Casey (justincc)
2a19187e01 * minor: tweak asset cache logging levels downwards 2009-10-05 18:32:19 +01:00
Diva Canto
fe9cca64de Stream needs to be closed before the file can be moved... 2009-10-04 09:56:54 -07:00
Diva Canto
b803d5ab9b Make sure to close the file streams on the FlotsamCache, even if something fails. 2009-10-04 09:44:04 -07:00
Jeff Ames
ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Diva Canto
eed8a61559 More small changes to FlotsamAssetCache as per mcortez' request. 2009-09-25 08:47:45 -07:00
Teravus Ovares (Dan Olivares)
dc3798ddc3 * Another Timer lock 2009-09-10 00:31:14 -04:00
Teravus Ovares (Dan Olivares)
df9f80aabd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares)
c605509da3 * Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only. 2009-09-09 16:20:19 -04:00
Melanie
5c606d0233 Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc)
33004b613d Standardize FlotsamAssetCache header
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc)
d704e62b39 Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example 2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc)
40fbdaaac4 Apply http://opensimulator.org/mantis/view.php?id=3829
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Melanie
eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01:00
Jeff Ames
4ce5c894cf Add copyright header. Formatting cleanup. 2009-08-01 05:11:47 +00:00
Melanie Thielker
cbeebc209d Thank you, coyled, for a patch to change Flotsamcache path generation
to avoid directory overflow.
2009-07-29 17:21:36 +00:00
Melanie Thielker
b008865110 Thank you, mcortez, for a patch to correct a folder bloat issue in the
Flotsam Asset Cache.
Fixes mantis #3950
2009-07-28 17:20:51 +00:00
Melanie Thielker
8ecfc9a717 Committing the interface change and the addition to the modules to get
the ball rolling on replacable modules. No user functionality yet
2009-07-10 20:17:13 +00:00
Dahlia Trimble
19b52d13e2 Thanks cmickeyb for a patch that checks for null assets in Cenome asset cache - Mantis #3819 2009-06-19 17:08:23 +00:00
diva
6242b01ac8 Removing the default reading of AssetCaching on all cache modules. 2009-06-10 16:48:26 +00:00
Melanie Thielker
b465dd7eb3 Reverse the default setting in Flotsam Asset Cache. Nothing should be the default 2009-06-10 15:36:44 +00:00
Jeff Ames
a23d64dec1 Formatting cleanup. 2009-06-10 04:28:56 +00:00
diva
ca52c3ef26 Letting the Flotsam cache be enabled even when [AssetCache] section is missing. Thank you mcortez! 2009-06-09 20:20:30 +00:00
Jeff Ames
a7fcacf8f3 Formatting cleanup. Ignore some generated files. 2009-06-09 18:07:35 +00:00
Jeff Ames
135ff63c3d Update svn properties. 2009-06-09 17:48:22 +00:00
Melanie Thielker
0356fef9ab Updating the flotsam asset cache. Thank you, mcortez!
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
Melanie Thielker
f992db6807 Committing mcortez's FlotsamAssetCache after several positive reviews.
Thank you, mcortez!
2009-06-05 04:58:55 +00:00
diva
ffac6f94f0 Changed a comment to reflect changes in config. 2009-06-04 18:41:19 +00:00
Jeff Ames
5f923f0632 Add copyright headers. 2009-06-04 01:09:18 +00:00
Jeff Ames
007016ecd2 Update svn properties. 2009-06-04 00:51:02 +00:00
Dahlia Trimble
9e3b592fa3 Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble
528db43326 revert r9765 due to too many errors on some compilers. Affects Mantis #3759 2009-06-03 02:03:11 +00:00
Dahlia Trimble
b38be1a7fd Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Jeff Ames
840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
diva
0094556d04 Instrumenting GlynnTuckerCache to find out the hit rate. 2009-05-28 21:04:10 +00:00
diva
e0ef697402 Adding the GlynnTucker cache module as the default choice in .ini's.
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames
a576cca59e Update svn properties. 2009-05-27 14:30:33 +00:00
diva
ce5225e6dc Experimental alternative cache module implementation, using GlynnTucker.Cache.dll. 2009-05-26 21:24:18 +00:00
diva
df16532858 Bug fix and config rename. 2009-05-18 23:15:50 +00:00