zhangbin 2025-12-23 13:28:44 +08:00
parent cb0008e09d
commit c8d7e3e729
1 changed files with 1 additions and 0 deletions

View File

@ -3098,6 +3098,7 @@ namespace OpenAuth.App.ServiceApp
using var httpClient = new HttpClient();
//await httpClient.PostAsync($"{url}/stop_detection", null);
var pytaskid = _redisCacheContext.HashGet($"ai:task:{taskid}", "TaskId").ToString();
_redisCacheContext.Del($"ai:task:{taskid}");
await httpClient.PostAsync($"{url}/api/tasks/{pytaskid}/cleanup", null);
db.Ado.CommitTran();
}