Commit Graph

145 Commits

Author SHA1 Message Date
UbitUmarov
a23bf4eb1b mantis 8890: waste CPU checking if asset id == Zero on get; several changes on region Asset connector 2021-05-29 15:08:22 +01:00
UbitUmarov
1610c3f741 mantis 8862: do cancel negative cache on valid store 2021-02-09 18:53:24 +00:00
UbitUmarov
517d2e136b move floatsam write thread to objectjobengine 2021-01-11 15:18:01 +00:00
UbitUmarov
9c1c656fe1 flotsam: fix full cached file replacement, do default assets caching with replacement on startup 2020-10-30 16:25:07 +00:00
UbitUmarov
7b106564fa in some cases store a hg asset on local grid is just waste 2020-10-28 12:12:08 +00:00
UbitUmarov
cdd5dba5b0 some changes; let regions have own assets connector, make the services connector one be like ther older simpler one (as 0.8x). still not good 2020-10-24 17:39:30 +01:00
UbitUmarov
3ec5d46a2f some changes Still BAD 2020-10-23 23:32:11 +01:00
UbitUmarov
a7a63a25ca mantis 8752: let messages show up 2020-08-21 16:27:09 +01:00
UbitUmarov
d82319f940 more expires; change profile requests from fifo to lifo. this should increase response on what is of current interest 2020-08-17 23:16:58 +01:00
UbitUmarov
1207f61f79 change tp callback condition 2020-08-14 02:37:07 +01:00
UbitUmarov
a049e37952 go back using File.Exists on flotsam 2020-08-14 01:49:58 +01:00
UbitUmarov
d74a701870 use expiringkey on flotsam negativecache 2020-08-10 16:02:22 +01:00
UbitUmarov
4f00fb2659 flotsam: minor log message change 2020-07-30 21:18:58 +01:00
UbitUmarov
87b55a0627 flotsam: still bad 2020-07-30 21:14:15 +01:00
UbitUmarov
111c741f1b flotsam: change the changes 2020-07-30 01:40:54 +01:00
UbitUmarov
1c37f357b3 flotsam: more changes 2020-07-30 01:39:04 +01:00
UbitUmarov
c19a0cc21f flotsam: deeper changes on files expire 2020-07-30 00:02:02 +01:00
UbitUmarov
c575c211f9 flotsam: slower... 2020-07-28 21:01:45 +01:00
UbitUmarov
bd2476c61e flotsam: slow it a lot more, make some debug log visible 2020-07-28 04:26:13 +01:00
UbitUmarov
d52b794828 flotsam add a cooldown on files expire/deletes also 2020-07-28 02:57:41 +01:00
UbitUmarov
bb56157c92 remove a forgotten gc collect on flotsam cache 2020-07-23 23:11:59 +01:00
UbitUmarov
6c5bf4ed25 useless cosmetics 2020-07-15 01:40:53 +01:00
UbitUmarov
f32c0ead05 avoid c# fun things, plus cosmetics 2020-07-14 17:54:58 +01:00
UbitUmarov
b2068fd39f give up calling gc.collect on flotsamcache. Did nothing visible and has negative side effects 2020-07-13 23:26:09 +01:00
UbitUmarov
541cb15751 fix a bug on flotsam getfilename 2020-07-11 20:03:31 +01:00
UbitUmarov
af6fa37cc2 mantis 8675: flotsam cache only log missing files if log level >= 2 (thanks mewtwo0641 ) this log will include things that may not even be assets due to how gatherer works; change a bit filename composition 2020-07-09 16:27:11 +01:00
UbitUmarov
28fcbc65f9 add GC.collect to flotsam cache expire. This is ugly but so is GC 2020-07-07 17:35:27 +01:00
UbitUmarov
7ef69edf33 flotsam: also expire weakreferences 2020-06-04 19:52:34 +01:00
UbitUmarov
301f28cfd4 add some heap variation to floatsam optional cache expire log 2020-06-03 14:34:11 +01:00
UbitUmarov
4fa8e20aab add more cooldown to flotsam cache files expire 2020-05-18 00:20:28 +01:00
UbitUmarov
c63fabe054 well and it does get all assets, grrr 2020-05-12 04:19:45 +01:00
UbitUmarov
48df8869e8 duuhh windows does not update lastaccesstime 2020-05-12 03:03:31 +01:00
UbitUmarov
6a4564869b flotsam file touch before expire: gatherer.GatherAll already touchs and tries to fecth all assets. This is nasty to use anyway.. avoid it 2020-05-12 00:56:47 +01:00
UbitUmarov
b292950b1c fix a lock i missed.. 2020-03-11 16:04:02 +00:00
UbitUmarov
033f6f889d a few changes to flotsam asset cache 2020-03-07 20:34:56 +00:00
UbitUmarov
3956fbe496 missed only line on last commit 2020-03-06 19:31:07 +00:00
UbitUmarov
98de42eedc flotsam: add comands deletedefaultassets to delete local default assets (on folder bin/assets) from cache so they can be refreshed from grid and cachedefaultassets to load those local assets into cache. This comands may cause desync with grid or other regions. Viewers will need to clear cache so see effects. Use with care 2020-03-06 19:20:12 +00:00
UbitUmarov
26b5affb04 FlotSamAssetcache write to disk needs be sync. 2019-11-01 15:00:22 +00:00
UbitUmarov
da0a8d6c43 remove some more useless NULL arguments 2019-10-22 12:39:50 +01:00
UbitUmarov
fc550e2b3e avoid potencial null ref 2019-09-03 15:21:25 +01:00
Melanie
0fd17c08ae Massive console refactor. Greatly simplify interface. 2019-08-20 23:28:59 +01:00
UbitUmarov
31633699cf mantis 8327: refix minor typos 2018-06-16 16:01:09 +01:00
UbitUmarov
c3d2f2d119 mantis 8327: fix minor typos 2018-06-16 14:18:05 +01:00
UbitUmarov
a22606a89f do not timeout floatsam assets caching thread 2018-02-02 11:47:19 +00:00
UbitUmarov
f69e48bedc make SendCoarseLocations async, since it is http. Make some actions use thread from pool and not a new one. Threading does need a deep cleanup one of this days. This stops mantis 8183 warnings, but as side effect only 2017-06-09 17:32:07 +01:00
UbitUmarov
8f10db0a6a mantis 8181: don't try to delete contents of a non exitent folder 2017-05-26 05:32:59 +01:00
Melanie Thielker
caaf9f7fc1 Squelch an error that happens when the asset cache was mounted RO.
Nothing we can do about that, blame Docker.
2017-03-31 14:38:40 +01:00
Melanie Thielker
a5151bb337 Refactor asset handling as per Ubit's suggestion 2017-02-01 16:31:01 +00:00
Melanie Thielker
5a18ea31cf Make negative asset caching actually work
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.
2017-01-30 13:59:05 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00