diff --git a/App.config b/App.config index 31ba92b..a8904f7 100644 --- a/App.config +++ b/App.config @@ -2,7 +2,7 @@ - + diff --git a/Model/Services/AlgorithmServer.cs b/Model/Services/AlgorithmServer.cs index 2811e51..c1fcc8b 100644 --- a/Model/Services/AlgorithmServer.cs +++ b/Model/Services/AlgorithmServer.cs @@ -186,7 +186,6 @@ namespace SparkClient.Model.Services // 记录算法失败的错误信息 Logger.Info($"Algorithm failed with errorMsg: {result.error_msg}"); // 处理 C++ DLL 日志文件 - //ProcessDllLog(); // 算法调用失败时,保存图片到历史记录文件夹 // if (result.status == StatusCodes.AlgorithmFailed) // { @@ -239,7 +238,7 @@ namespace SparkClient.Model.Services // 检查 D 盘内存空间 DriveInfo dDrive = new DriveInfo("D"); - long requiredSpace = 1000L * 1024 * 1024 * 1024; // 10GB + long requiredSpace = 10L * 1024 * 1024 * 1024; // 10GB if (dDrive.TotalFreeSpace < requiredSpace) { // 如果 D 盘空间不足 10GB,删除最早创建的10个文件夹 diff --git a/Model/Services/SOCClientService.cs b/Model/Services/SOCClientService.cs index 981a532..3d0de64 100644 --- a/Model/Services/SOCClientService.cs +++ b/Model/Services/SOCClientService.cs @@ -40,7 +40,6 @@ namespace SparkClient.Model.Services /// public SOCClientService() { - //_baseUrl = "http://192.168.3.100:8080"; _baseUrl = ConfigurationManager.AppSettings["BaseUrl"]; _authToken = "your_basic_auth_token"; }