mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to Util.FireAndForget()
* Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
This commit is contained in:
@@ -302,12 +302,8 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
|
||||
}
|
||||
|
||||
ThreadPool.UnsafeQueueUserWorkItem(
|
||||
delegate
|
||||
{
|
||||
WriteFileCache(filename, asset);
|
||||
}, null
|
||||
);
|
||||
Util.FireAndForget(
|
||||
delegate { WriteFileCache(filename, asset); });
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user