mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 13:14:49 +00:00
Ensures default timeout is used when calling from JsonToSimpl modules
This commit is contained in:
@@ -104,7 +104,7 @@ namespace PepperDash.Core.JsonToSimpl
|
||||
}
|
||||
public void setDebugLevel(int level)
|
||||
{
|
||||
Debug.SetDebugLevel(level);
|
||||
Debug.SetDebugLevel(level, Debug.DebugTimoutMs);
|
||||
}
|
||||
|
||||
public override void Save()
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace PepperDash.Core.JsonToSimpl
|
||||
/// <param name="level"></param>
|
||||
public void setDebugLevel(int level)
|
||||
{
|
||||
Debug.SetDebugLevel(level);
|
||||
Debug.SetDebugLevel(level, Debug.DebugTimoutMs);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -26,8 +26,14 @@ namespace PepperDash.Core
|
||||
/// </summary>
|
||||
public static string FileName = string.Format(@"app{0}Debug.json", InitialParametersClass.ApplicationNumber);
|
||||
|
||||
/// <summary>
|
||||
/// Current debgu level
|
||||
/// </summary>
|
||||
public static int Level { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if config should be loaded on next boot
|
||||
/// </summary>
|
||||
public static bool DoNotLoadOnNextBoot { get; private set; }
|
||||
|
||||
static DebugContextCollection Contexts;
|
||||
@@ -37,8 +43,11 @@ namespace PepperDash.Core
|
||||
/// <summary>
|
||||
/// Default debug timeout (30 min)
|
||||
/// </summary>
|
||||
static long DebugTimoutMs = 1800000;
|
||||
public static long DebugTimoutMs = 1800000;
|
||||
|
||||
/// <summary>
|
||||
/// Current version string
|
||||
/// </summary>
|
||||
public static string PepperDashCoreVersion { get; private set; }
|
||||
|
||||
static CTimer SaveTimer;
|
||||
|
||||
Reference in New Issue
Block a user