System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
升级 Furion 到最新版。然后在 appsettings.json 中配置:
{
"AppSettings": {
"JsonFileScanner": {
"ReloadOnChange":false
}
}
}
下载My.Extensions.Localization.Json项目
修改JsonResourceManager的构造函数:
public JsonResourceManager(string resourcesPath, string resourceName = null)
{
ResourcesPath = resourcesPath;
ResourceName = resourceName;
//_jsonFileWatcher = new(resourcesPath); //注释这行
//_jsonFileWatcher.Changed += RefreshResourcesCache; //注释这行
}