From f2bb6aa36faf9df697c54bafadff1bb1fc35330f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 25 Nov 2021 16:18:28 +0100 Subject: [PATCH] fix comment --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index 53e11cc..cbfb958 100644 --- a/handler.go +++ b/handler.go @@ -298,7 +298,7 @@ func returnErrorPage(ctx *fasthttp.RequestCtx, code int) { ctx.Response.SetBody(bytes.ReplaceAll(NotFoundPage, []byte("%status"), []byte(strconv.Itoa(code)+" "+message))) } -// BranchExistanceCacheTimeout specifies the timeout for the default branch cache. It can be quite long. +// DefaultBranchCacheTimeout specifies the timeout for the default branch cache. It can be quite long. var DefaultBranchCacheTimeout = 15 * time.Minute // BranchExistanceCacheTimeout specifies the timeout for the branch timestamp & existance cache. It should be shorter