mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-15 12:44:48 +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)
|
public void setDebugLevel(int level)
|
||||||
{
|
{
|
||||||
Debug.SetDebugLevel(level);
|
Debug.SetDebugLevel(level, Debug.DebugTimoutMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Save()
|
public override void Save()
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ namespace PepperDash.Core.JsonToSimpl
|
|||||||
/// <param name="level"></param>
|
/// <param name="level"></param>
|
||||||
public void setDebugLevel(int level)
|
public void setDebugLevel(int level)
|
||||||
{
|
{
|
||||||
Debug.SetDebugLevel(level);
|
Debug.SetDebugLevel(level, Debug.DebugTimoutMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -26,8 +26,14 @@ namespace PepperDash.Core
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static string FileName = string.Format(@"app{0}Debug.json", InitialParametersClass.ApplicationNumber);
|
public static string FileName = string.Format(@"app{0}Debug.json", InitialParametersClass.ApplicationNumber);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Current debgu level
|
||||||
|
/// </summary>
|
||||||
public static int Level { get; private set; }
|
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; }
|
public static bool DoNotLoadOnNextBoot { get; private set; }
|
||||||
|
|
||||||
static DebugContextCollection Contexts;
|
static DebugContextCollection Contexts;
|
||||||
@@ -37,8 +43,11 @@ namespace PepperDash.Core
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default debug timeout (30 min)
|
/// Default debug timeout (30 min)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
static long DebugTimoutMs = 1800000;
|
public static long DebugTimoutMs = 1800000;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Current version string
|
||||||
|
/// </summary>
|
||||||
public static string PepperDashCoreVersion { get; private set; }
|
public static string PepperDashCoreVersion { get; private set; }
|
||||||
|
|
||||||
static CTimer SaveTimer;
|
static CTimer SaveTimer;
|
||||||
|
|||||||
Reference in New Issue
Block a user