Make the maptile uploader in remote admin fire and forget so the controlling host gets a timely reply.

avinationmerge
Melanie Thielker 2015-03-07 01:15:48 +01:00
parent fed566b8d3
commit 7caff51481
1 changed files with 4 additions and 1 deletions

View File

@ -2244,7 +2244,10 @@ namespace OpenSim.ApplicationPlugins.RemoteController
IMapTileModule mapTileModule = scene.RequestModuleInterface<IMapTileModule>(); IMapTileModule mapTileModule = scene.RequestModuleInterface<IMapTileModule>();
if (mapTileModule != null) if (mapTileModule != null)
{ {
mapTileModule.UploadMapTile(scene); Util.FireAndForget((x) =>
{
mapTileModule.UploadMapTile(scene);
});
responseData["success"] = true; responseData["success"] = true;
} }
else else