Skip to content

Commit

Permalink
调整默认时间间隔
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jun 16, 2021
1 parent 42458fd commit 849d622
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FastGithub.Scanner/GithubOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ namespace FastGithub.Scanner
[Options("Github")]
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");

Expand Down
4 changes: 2 additions & 2 deletions FastGithub/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"UpStream": "114.114.114.114"
},
"Github": {
"ScanAllInterval": "12:00:00", // 完整扫描时间间隔
"ScanResultInterval": "00:05:00", // 结果扫描时间间隔
"ScanAllInterval": "02:00:00", // 完整扫描时间间隔
"ScanResultInterval": "00:01:00", // 结果扫描时间间隔
"MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json", // ip资源文件uri
"PortScanTimeout": "00:00:01", // 端口扫描超时时间
"HttpsScanTimeout": "00:00:05" // https扫描超时时间
Expand Down

0 comments on commit 849d622

Please sign in to comment.