diff --git a/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs b/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs
index 3050e6f..3f1624a 100644
--- a/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs
+++ b/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs
@@ -12,6 +12,9 @@ namespace PepperDash.Core
///
public class CommunicationStreamDebugging
{
+ ///
+ /// Device Key that this instance configures
+ ///
public string ParentDeviceKey { get; private set; }
///
@@ -21,7 +24,7 @@ namespace PepperDash.Core
public eStreamDebuggingSetting DebugSetting { get; private set; }
- private uint _DebugTimeoutMin;
+ private uint _DebugTimeoutInMs;
private const uint _DefaultDebugTimeoutMin = 30;
///
@@ -31,16 +34,7 @@ namespace PepperDash.Core
{
get
{
- return _DebugTimeoutMin;
- }
- }
-
-
- private long _DebugTimeoutInMs
- {
- get
- {
- return DebugTimeoutMinutes * 60000;
+ return _DebugTimeoutInMs/60000;
}
}
@@ -78,7 +72,7 @@ namespace PepperDash.Core
///
public void SetDebuggingWithSpecificTimeout(eStreamDebuggingSetting setting, uint minutes)
{
- _DebugTimeoutMin = minutes;
+ _DebugTimeoutInMs = minutes * 60000;
if (DebugExpiryPeriod != null)
{