1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-02-10 18:31:20 +02:00

Add code comment to document updateAgentLastWorkDelay const (#4101)

This commit is contained in:
6543 2024-09-10 14:52:50 +02:00 committed by GitHub
parent 38ed7f9efd
commit b1cf44ae0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {