From 9f3c86de7c5803e326d96a2f46a144812c56a9f9 Mon Sep 17 00:00:00 2001 From: tbs60 Date: Wed, 23 Oct 2024 11:16:36 +0800 Subject: [PATCH] feat:avoid unnecessary task start, issue: #308 --- src/backend/booster/bk_dist/booster/command/command.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/booster/bk_dist/booster/command/command.go b/src/backend/booster/bk_dist/booster/command/command.go index 89af640b..55f782de 100644 --- a/src/backend/booster/bk_dist/booster/command/command.go +++ b/src/backend/booster/bk_dist/booster/command/command.go @@ -473,6 +473,10 @@ var ( Name: "clean_tmp_files_day_ago", Usage: "clean tmp files which modify time before this days, default is 1", }, + commandCli.BoolFlag{ + Name: "ignore_http_status", + Usage: "tasks will be executed even local http connection disconnected when this flag set", + }, } )