|
@@ -477,10 +477,22 @@ namespace WingCloudServer
|
|
|
_apiAccessPlugin.Load(_rpcClientPool);
|
|
|
|
|
|
var notValidateLicense = ConfigurationManager.GetParammeter<BoolParameter>("General", "NotValidateLicense").Value;
|
|
|
+ var isResearchEditionService = ConfigurationManager.GetParammeter<BoolParameter>("General", "IsResearchEditionService").Value;
|
|
|
//InitLicense
|
|
|
if (!notValidateLicense)
|
|
|
{
|
|
|
- ServerLicense.Instance.VerifyLicense(_licensePlugin.DisabledServerRequest);
|
|
|
+ if (isResearchEditionService)
|
|
|
+ {
|
|
|
+ Task.Run(() =>
|
|
|
+ {
|
|
|
+ ServerLicense.Instance.VerifyLicense(_licensePlugin.DisabledServerRequest);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ ServerLicense.Instance.VerifyLicense(_licensePlugin.DisabledServerRequest);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|