From 849d622bc6a624d7c4eb8243b832a7e9f7ee5bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Wed, 16 Jun 2021 13:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=97=B4=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Scanner/GithubOptions.cs | 4 ++-- FastGithub/appsettings.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FastGithub.Scanner/GithubOptions.cs b/FastGithub.Scanner/GithubOptions.cs index faad619..0a4a88e 100644 --- a/FastGithub.Scanner/GithubOptions.cs +++ b/FastGithub.Scanner/GithubOptions.cs @@ -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"); diff --git a/FastGithub/appsettings.json b/FastGithub/appsettings.json index 8715260..13581ab 100644 --- a/FastGithub/appsettings.json +++ b/FastGithub/appsettings.json @@ -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扫描超时时间