调整默认时间间隔

This commit is contained in:
陈国伟 2021-06-16 13:22:42 +08:00
parent 42458fd25a
commit 849d622bc6
2 changed files with 4 additions and 4 deletions

View File

@ -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");

View File

@ -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", // ipuri "MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json", // ipuri
"PortScanTimeout": "00:00:01", // "PortScanTimeout": "00:00:01", //
"HttpsScanTimeout": "00:00:05" // https "HttpsScanTimeout": "00:00:05" // https