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

This commit is contained in:
Melanie Thielker
2015-03-07 01:15:48 +01:00
parent fed566b8d3
commit 7caff51481

View File

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