oyq28 1 месяц назад
Родитель
Сommit
1729c74103

+ 1 - 1
IMCS_CCS/Service/Impl/ApiRequestService.cs

@@ -38,7 +38,7 @@ namespace IMCS.CCS.Service.Impl
                     headerValue = headerKeyValue.Split('=')[1];
                 }
 
-                IFlurlRequest flurlRequest = apiUrl.WithHeader(headerKey, headerValue).WithTimeout(16) ; 
+                IFlurlRequest flurlRequest = apiUrl.WithHeader(headerKey, headerValue).WithTimeout(30) ; 
                 if (flurlRequest == null)
                 {
                     return (false, "flurlRequest 空指针!");

+ 1 - 1
IMCS_CCS/Service/Impl/TaskJobService.cs

@@ -659,7 +659,7 @@ namespace IMCS.CCS.Service.Impl
                             }
                         }
                     }
-                    Thread.Sleep(1000);
+                    Thread.Sleep(500);
                 }
                 return string.IsNullOrEmpty(message) ? "无回调任务" : message;
             }

+ 1 - 1
IMCS_CCS/Startup.cs

@@ -132,7 +132,7 @@ namespace IMCS.CCS
                 app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "IMCS.CCS v1"));
             }
             app.UseCors("HZYCors");
-            app.UseHttpsRedirection();
+            //app.UseHttpsRedirection();
 
             app.UseStaticFiles();