UbitUmarov
ce92ee1057
cache bad folders requests for 30s. Suitcase can induce a ton of this, and viewers keep requesting
2020-07-16 18:23:17 +01:00
UbitUmarov
f326cc8901
reduce garbage on WebFetchInvDesc
2020-05-22 14:00:12 +01:00
UbitUmarov
aafc6579a1
remove end slash from most URLs we send to viewers
2020-05-10 21:14:52 +01:00
UbitUmarov
1c6d454691
remove excess garbage
2020-04-10 22:52:25 +01:00
UbitUmarov
97cb6254ef
cosmetics, rename a few vars, etc
2020-03-02 01:32:33 +00:00
Robert Adams
bd1b992aaf
Add Thread.ResetAbort() to various thread loops to clean up errors on
...
shutdown. Fixes Mantis #8494 .
Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08:00
UbitUmarov
deb0ab7400
GetAssets: we still need to service avatars that did left region
2018-12-04 21:56:39 +00:00
UbitUmarov
4ced4fed33
replace GetMeshModule and GetTextureModule
2018-12-01 23:13:24 +00:00
UbitUmarov
27dfdcf1fa
clean a bit
2018-12-01 18:50:53 +00:00
UbitUmarov
6f4052561e
send data as bin not string to http lower level
2018-07-14 14:39:29 +01:00
UbitUmarov
4381f16e18
keepalive is default
2018-01-30 08:15:42 +00:00
UbitUmarov
437369778d
give BlockingCollection more chances
2018-01-22 02:42:50 +00:00
UbitUmarov
d4a5454f3c
give BlockingCollection more chances
2018-01-22 00:43:33 +00:00
UbitUmarov
6d4b0a8ce3
Merge branch 'master' into httptests
2017-08-16 05:05:57 +01:00
Kevin Cozens
cf855c3842
Corrected index number in ErrorFormat based Exception message
2017-07-30 12:27:27 -04:00
UbitUmarov
c54985f8a1
Merge branch 'master' into httptests
2017-05-27 05:47:05 +01:00
UbitUmarov
7a82c7c5b2
make BlockingQueue.Dequeue timeouts more coerent (just less than watchdog timeout)
2017-05-26 00:47:08 +01:00
UbitUmarov
2777995331
Merge branch 'master' into httptests
2017-05-25 10:23:52 +01:00
UbitUmarov
b6c23fe911
make a few more threads background ones
2017-05-25 02:01:36 +01:00
UbitUmarov
254b26a7d5
fix merge
2017-01-05 19:32:57 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
UbitUmarov
eaefae7e20
don't loose inventory items when there are bad folders
2016-07-17 22:52:58 +01:00
UbitUmarov
e881562d34
fix drop on delayed events processing
2016-07-17 14:15:46 +01:00
UbitUmarov
442b272228
add a Drop method to PollService Event handlers, Drop requests on connections known to be lost or delay event check if they are sending a response
2016-07-17 13:20:56 +01:00
UbitUmarov
eccec66359
fix the queue type in use
2015-12-09 16:12:21 +00:00
UbitUmarov
3029080d9b
change threading on GetTexture and getMesh and WebFetch Modules.
2015-11-27 07:38:54 +00:00
UbitUmarov
156fdd4908
remove some duplicate using statements
2015-11-21 01:49:31 +00:00
UbitUmarov
118aff520e
try to better merge avn and os fetchinventory and fetchinvdescendents
2015-09-12 06:10:52 +01:00
UbitUmarov
08187cb599
inventory mess return to the state before divas cache issue
2015-09-11 20:40:10 +01:00
UbitUmarov
7841628313
change to avn fecthinventory and webfecth.. code
2015-09-11 16:25:46 +01:00
UbitUmarov
cdaed11387
at last we can login and see objects ( friends is dead and disable in
...
scenepresence)
2015-09-03 18:39:08 +01:00
UbitUmarov
a11edceb00
seems to compile ( tests comented out)
2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af
bad merge?
2015-09-01 14:54:35 +01:00
Diva Canto
017d2cf417
Bug fix in inventory fetching: sometimes the caps request comes before there is a scene presence, and that's ok.
2015-06-17 15:55:07 -07:00
Diva Canto
bac53387a9
Mantis #7567 : added an 8-sec expiring item cache to the inventory network connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example).
...
Other minor changes:
- added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called
- brought linked items in linked folders back to being prefetched
2015-06-03 17:42:41 -07:00
Diva Canto
c74cef0f42
Major change in the way inventory is downloaded: added a method throughout IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2015-05-07 19:24:08 -07:00
Diva Canto
8676b017b2
Attempt at fixing mantis #7054 . The two inventory threads are stepping on each other's feet. This needs real-world testing, as I'm not sure of all the consequences of reducing the number of worker threads to 1.
2015-05-05 21:28:27 -07:00
Diva Canto
8cc590cf80
And finally renamed the classes themselves.
2015-01-13 22:21:50 -08:00
Justin Clark-Casey (justincc)
86367d7219
refactor: Move methods to start a monitored thread, start work in its own 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
2014-11-25 23:56:32 +00:00
Justin Clark-Casey (justincc)
4374ce9fbf
If processing a queued request fails up to the top of the stack, log the exception and move to the next request rather than terminate the simulator.
2014-06-16 22:11:34 +01:00
Justin Clark-Casey (justincc)
178a5a5585
rename prefix of scene-inventory.<scene-name>.ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests to inventory.httpfetch.*
...
Actual inventory processing is done with a single set of static structures rather than per scene.
2014-03-21 23:29:31 +00:00
Justin Clark-Casey (justincc)
1497b75361
minor: Put ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests in stats category "scene-inventory" instead of "scene"
...
To distinguish from general scene stats
2014-03-19 00:37:06 +00:00
Justin Clark-Casey (justincc)
a660c0a750
Add scene.<scene-name>.ProcessedFetchInventoryRequests
...
This shows the number of requests that have been processed.
These have not necessarily been sent back to the request since this is done separately by the PollServiceRequestManager
2014-03-18 20:59:11 +00:00
Justin Clark-Casey (justincc)
e82d394ddf
Add scene.<scene-name>.QueuedFetchInventoryRequests stat
...
This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
2014-03-18 20:10:41 +00:00
Justin Clark-Casey (justincc)
f3e177814a
Add regression test for http inventory fetch.
...
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-03-17 20:51:35 +00:00
Melanie
75c68fa29e
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Data/MySQL/MySQLSimulationData.cs
OpenSim/Data/MySQL/Resources/RegionStore.migrations
OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/ScenePresence.cs
OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCapabilityTests.cs
OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
2013-10-04 20:03:12 +01:00
Mic Bowman
b29e9d37e7
Change handling of the FetchInventoryDescendents2 capability configuration to allow
...
for external handlers.
2013-09-11 12:15:16 -07:00
Melanie
a7eb1b5b85
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs
OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
2013-07-24 03:50:09 +01:00
Melanie
7830cc9954
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs
OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/Framework/Scenes/ScenePresence.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
OpenSim/Services/HypergridService/UserAgentService.cs
2013-07-18 10:08:10 +01:00
dahlia
6dd454240f
revert last commit which seems to conflict with DoubleQueue internals. The random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
2013-07-16 02:03:01 -07:00