Turned off the multi user (Concurrent User) logic because it was causing problems.

This commit is contained in:
John Jenko 2016-02-15 17:28:11 +00:00
parent 697fbf98f8
commit 37fbb51a32

View File

@ -345,7 +345,7 @@ namespace VEPROMS
void tv_PauseRefresh(object sender, vlnTreeSectionInfoEventArgs args) void tv_PauseRefresh(object sender, vlnTreeSectionInfoEventArgs args)
{ {
//_MyLog.WarnFormat("Pause"); //_MyLog.WarnFormat("Pause");
PauseRefresh = true; //PauseRefresh = true;
} }
private void SetupFolder(int folderID) private void SetupFolder(int folderID)
{ {
@ -1316,12 +1316,12 @@ namespace VEPROMS
//System.Diagnostics.Process xyzzy = System.Diagnostics.Process.GetCurrentProcess(); //System.Diagnostics.Process xyzzy = System.Diagnostics.Process.GetCurrentProcess();
if (!System.Diagnostics.Debugger.IsAttached)// running in Production Mode (Not in the debugger) if (!System.Diagnostics.Debugger.IsAttached)// running in Production Mode (Not in the debugger)
{ {
System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession); System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession);
MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000); MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000);
System.Threading.Thread.Sleep(5000); // System.Threading.Thread.Sleep(5000);
System.Threading.TimerCallback timerRefresh = new System.Threading.TimerCallback(this.StartRefreshChanged); // System.Threading.TimerCallback timerRefresh = new System.Threading.TimerCallback(this.StartRefreshChanged);
RefreshTimer.Enabled = true; // RefreshTimer.Enabled = true;
MyRefreshTimer = new System.Threading.Timer(timerRefresh, autoEvent, 10000, 10000); // MyRefreshTimer = new System.Threading.Timer(timerRefresh, autoEvent, 10000, 10000);
} }
//string debugMode = ConfigurationManager.AppSettings["Debug"]; //string debugMode = ConfigurationManager.AppSettings["Debug"];