- Added setting to disable lua scripts caching in the storage service for scenarios that use extern editors.
This commit is contained in:
+5
@@ -15,6 +15,11 @@ public interface ILuaCsInfoProvider : IService
|
||||
/// </summary>
|
||||
public bool HideUserNamesInLogs { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether file system caching is enabled.
|
||||
/// </summary>
|
||||
public bool UseCaching { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The current state of the Execution State Machine.
|
||||
/// </summary>
|
||||
|
||||
+6
@@ -21,6 +21,12 @@ public interface ILuaScriptManagementService : IReusableService
|
||||
FluentResults.Result<DynValue> DoString(string code);
|
||||
DynValue? CallFunctionSafe(object luaFunction, params object[] args);
|
||||
|
||||
/// <summary>
|
||||
/// Whether to enable/disable the file system caching for lua.
|
||||
/// </summary>
|
||||
/// <param name="useCaching"></param>
|
||||
void SetCachingPolicy(bool useCaching);
|
||||
|
||||
/// <summary>
|
||||
/// Parses and loads script sources (code) into a memory cache without executing it.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user