调整默认时间间隔
This commit is contained in:
parent
42458fd25a
commit
849d622bc6
@ -5,9 +5,9 @@ namespace FastGithub.Scanner
|
|||||||
[Options("Github")]
|
[Options("Github")]
|
||||||
sealed class GithubOptions
|
sealed class GithubOptions
|
||||||
{
|
{
|
||||||
public TimeSpan ScanAllInterval { get; set; } = TimeSpan.FromHours(12d);
|
public TimeSpan ScanAllInterval { get; set; } = TimeSpan.FromHours(2d);
|
||||||
|
|
||||||
public TimeSpan ScanResultInterval { get; set; } = TimeSpan.FromMinutes(5d);
|
public TimeSpan ScanResultInterval { get; set; } = TimeSpan.FromMinutes(1d);
|
||||||
|
|
||||||
public Uri MetaUri { get; set; } = new Uri("https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json");
|
public Uri MetaUri { get; set; } = new Uri("https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json");
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
"UpStream": "114.114.114.114"
|
"UpStream": "114.114.114.114"
|
||||||
},
|
},
|
||||||
"Github": {
|
"Github": {
|
||||||
"ScanAllInterval": "12:00:00", // 完整扫描时间间隔
|
"ScanAllInterval": "02:00:00", // 完整扫描时间间隔
|
||||||
"ScanResultInterval": "00:05:00", // 结果扫描时间间隔
|
"ScanResultInterval": "00:01:00", // 结果扫描时间间隔
|
||||||
"MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json", // ip资源文件uri
|
"MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json", // ip资源文件uri
|
||||||
"PortScanTimeout": "00:00:01", // 端口扫描超时时间
|
"PortScanTimeout": "00:00:01", // 端口扫描超时时间
|
||||||
"HttpsScanTimeout": "00:00:05" // https扫描超时时间
|
"HttpsScanTimeout": "00:00:05" // https扫描超时时间
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user