SEBWIN-486: Always automatically start server connectivity during client initialization.
This commit is contained in:
parent
da39fb1f59
commit
adb09b8a4a
4 changed files with 1 additions and 13 deletions
SafeExamBrowser.Client
SafeExamBrowser.Configuration.Contracts
SafeExamBrowser.Runtime/Operations
|
@ -412,8 +412,6 @@ namespace SafeExamBrowser.Client
|
|||
Thread.Sleep(Settings.Server.RequestAttemptInterval);
|
||||
response = Server.SendSessionIdentifier(identifier);
|
||||
}
|
||||
|
||||
Server.StartConnectivity();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -52,11 +52,7 @@ namespace SafeExamBrowser.Client.Operations
|
|||
Context.AppConfig.ServerExamId,
|
||||
Context.AppConfig.ServerOauth2Token,
|
||||
Context.Settings.Server);
|
||||
|
||||
if (Context.AppConfig.ServerConnectivityAutoStart)
|
||||
{
|
||||
server.StartConnectivity();
|
||||
}
|
||||
server.StartConnectivity();
|
||||
}
|
||||
|
||||
return OperationResult.Success;
|
||||
|
|
|
@ -161,11 +161,6 @@ namespace SafeExamBrowser.Configuration.Contracts
|
|||
/// </summary>
|
||||
public string ServerConnectionToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the server connectivity should automatically be started in case of a reconfiguration.
|
||||
/// </summary>
|
||||
public bool ServerConnectivityAutoStart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The identifier of the selected server exam.
|
||||
/// </summary>
|
||||
|
|
|
@ -139,7 +139,6 @@ namespace SafeExamBrowser.Runtime.Operations
|
|||
|
||||
Context.Next.AppConfig.ServerApi = Context.Current.AppConfig.ServerApi;
|
||||
Context.Next.AppConfig.ServerConnectionToken = Context.Current.AppConfig.ServerConnectionToken;
|
||||
Context.Next.AppConfig.ServerConnectivityAutoStart = true;
|
||||
Context.Next.AppConfig.ServerExamId = Context.Current.AppConfig.ServerExamId;
|
||||
Context.Next.AppConfig.ServerOauth2Token = Context.Current.AppConfig.ServerOauth2Token;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue