mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-02 20:23:50 +00:00
Add code comment to document updateAgentLastWorkDelay const (#4101)
This commit is contained in:
parent
38ed7f9efd
commit
b1cf44ae0f
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ import (
|
||||||
"go.woodpecker-ci.org/woodpecker/v2/server/store"
|
"go.woodpecker-ci.org/woodpecker/v2/server/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// updateAgentLastWorkDelay the delay before the LastWork info should be updated.
|
||||||
const updateAgentLastWorkDelay = time.Minute
|
const updateAgentLastWorkDelay = time.Minute
|
||||||
|
|
||||||
type RPC struct {
|
type RPC struct {
|
||||||
|
|
Loading…
Reference in a new issue