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

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