Browse Source

👕 调整Readme

main-auditlogging
王军 4 years ago
parent
commit
71fe359973
  1. 3
      Readme.md
  2. 4
      aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/AbpProHttpApiHostModule.cs

3
Readme.md

@ -47,12 +47,13 @@ Abp Vnext Vue 实现版本
- [x] Identity 资源管理
- [x] SinglaR 消息通知(站内信)
- [x] 多语言
- [x] 数据字典(UI 暂时没有)
- [x] 数据字典
- [x] 容器化部署
- [x] 单元测试
- [x] ES 日志
- [x] Setting 管理
- [x] 多租户
- [x] 文件管理
## 📦 安装

4
aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/AbpProHttpApiHostModule.cs

@ -141,12 +141,12 @@ namespace Lion.AbpPro
//QueuePollInterval = TimeSpan.Zero,
//UseRecommendedIsolationLevel = true,
//DisableGlobalLocks = true
JobExpirationCheckInterval = TimeSpan.FromSeconds(3)
JobExpirationCheckInterval = TimeSpan.FromMinutes(30)
}));
var delaysInSeconds = new int[] { 10, 60, 60 * 3 }; // 重试时间间隔
var Attempts = 3; // 重试次数
config.UseFilter(new AutomaticRetryAttribute() { Attempts = Attempts, DelaysInSeconds = delaysInSeconds });
config.UseFilter(new AutoDeleteAfterSuccessAttributer(TimeSpan.FromSeconds(5)));
config.UseFilter(new AutoDeleteAfterSuccessAttributer(TimeSpan.FromDays(7)));
config.UseFilter(new JobRetryLastFilter(Attempts));
});
}

Loading…
Cancel
Save