From b1cf44ae0f80ca18dff3ab67b61cda59107b5a39 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 10 Sep 2024 14:52:50 +0200 Subject: [PATCH] Add code comment to document updateAgentLastWorkDelay const (#4101) --- server/grpc/rpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/grpc/rpc.go b/server/grpc/rpc.go index 012167c23..718d82709 100644 --- a/server/grpc/rpc.go +++ b/server/grpc/rpc.go @@ -39,6 +39,7 @@ import ( "go.woodpecker-ci.org/woodpecker/v2/server/store" ) +// updateAgentLastWorkDelay the delay before the LastWork info should be updated. const updateAgentLastWorkDelay = time.Minute type RPC struct {