不监测修改
continuous-integration/drone/push Build is passing Details

Uat_Study
hang 2024-01-03 13:32:03 +08:00
parent 75bf85997a
commit 1bcc831937
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ namespace IRaCIS.Application.Services.BackGroundJob
throw new BusinessValidationFailedException(StaticData.International("IRaCISCHangfireJob_FileNotFound")); throw new BusinessValidationFailedException(StaticData.International("IRaCISCHangfireJob_FileNotFound"));
} }
FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath)); //FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath));
watcher.Changed += (sender, e) => LoadJsonFile(filePath); //watcher.Changed += (sender, e) => LoadJsonFile(filePath);
//watcher.EnableRaisingEvents = false; //watcher.EnableRaisingEvents = false;
} }