mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-22 22:22:51 +08:00
fix: 🐛 public const int SECS_CACHE_LOGIN_BY_USER_ID = 3600 * 24 * 30; // 秒:缓存时间-通过用户编号登录的用户信息 (#179)
Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
parent
58e4572723
commit
000e3d68a8
@ -16,19 +16,20 @@ public static class Numbers
|
|||||||
public const int HTTP_STATUS_BIZ_FAIL = 900; // Http状态码-业务异常
|
public const int HTTP_STATUS_BIZ_FAIL = 900; // Http状态码-业务异常
|
||||||
public const long ID_DIC_CATALOG_GEO_AREA = 379794295185413; // 唯一编号:字典目录-行政区划字典
|
public const long ID_DIC_CATALOG_GEO_AREA = 379794295185413; // 唯一编号:字典目录-行政区划字典
|
||||||
|
|
||||||
public const int MAX_LIMIT_BULK_REQ = 100; // 最大限制:批量请求数
|
public const int MAX_LIMIT_BULK_REQ = 100; // 最大限制:批量请求数
|
||||||
public const int MAX_LIMIT_EXPORT = 10000; // 最大限制:导出为CSV文件的条数
|
public const int MAX_LIMIT_EXPORT = 10000; // 最大限制:导出为CSV文件的条数
|
||||||
public const int MAX_LIMIT_QUERY = 1000; // 最大限制:非分页查询条数
|
public const int MAX_LIMIT_QUERY = 1000; // 最大限制:非分页查询条数
|
||||||
public const int MAX_LIMIT_QUERY_PAGE_NO = 10000; // 最大限制:分页查询页码
|
public const int MAX_LIMIT_QUERY_PAGE_NO = 10000; // 最大限制:分页查询页码
|
||||||
public const int MAX_LIMIT_QUERY_PAGE_SIZE = 100; // 最大限制:分页查询页容量
|
public const int MAX_LIMIT_QUERY_PAGE_SIZE = 100; // 最大限制:分页查询页容量
|
||||||
public const int MAX_LIMIT_RETRY_CNT_REDIS_LOCK = 10; // 最大限制:Redis锁重试次数
|
public const int MAX_LIMIT_RETRY_CNT_REDIS_LOCK = 10; // 最大限制:Redis锁重试次数
|
||||||
public const int REQUEST_LOG_BUFF_SIZE = 10; // 请求日志缓冲区大小
|
public const int REQUEST_LOG_BUFF_SIZE = 10; // 请求日志缓冲区大小
|
||||||
public const int SCHEDULED_JOB_PARALLEL_NUM = 5; // 计划作业并发数
|
public const int SCHEDULED_JOB_PARALLEL_NUM = 5; // 计划作业并发数
|
||||||
public const int SECS_CACHE_CHART = 300; // 秒:缓存时间-仪表
|
public const int SECS_CACHE_CHART = 300; // 秒:缓存时间-仪表
|
||||||
public const int SECS_CACHE_DEFAULT = 60; // 秒:缓存时间-默认
|
public const int SECS_CACHE_DEFAULT = 60; // 秒:缓存时间-默认
|
||||||
public const int SECS_CACHE_DIC_CATALOG_CODE = 300; // 秒:缓存时间-字典配置-目录代码
|
public const int SECS_CACHE_DIC_CATALOG_CODE = 300; // 秒:缓存时间-字典配置-目录代码
|
||||||
public const int SECS_REDIS_LOCK_EXPIRY = 60; // 秒:Redis锁过期时间
|
public const int SECS_CACHE_LOGIN_BY_USER_ID = 3600 * 24 * 30; // 秒:缓存时间-通过用户编号登录的用户信息
|
||||||
public const int SECS_REDIS_LOCK_RETRY_DELAY = 1; // 秒:Redis锁重试间隔
|
public const int SECS_REDIS_LOCK_EXPIRY = 60; // 秒:Redis锁过期时间
|
||||||
public const int SECS_TIMEOUT_HTTP_CLIENT = 15; // 秒:超时时间-默认HTTP客户端
|
public const int SECS_REDIS_LOCK_RETRY_DELAY = 1; // 秒:Redis锁重试间隔
|
||||||
public const int SECS_TIMEOUT_JOB = 600; // 秒:超时时间-作业
|
public const int SECS_TIMEOUT_HTTP_CLIENT = 15; // 秒:超时时间-默认HTTP客户端
|
||||||
|
public const int SECS_TIMEOUT_JOB = 600; // 秒:超时时间-作业
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user