mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-12 15:24:07 +00:00
Let agent retry to connecting to server (#1728)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1721 PR introduces connection retries during agent startup. Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
80444c73af
commit
049c26229d
@@ -29,7 +29,7 @@ func main() {
|
||||
app.Name = "woodpecker-agent"
|
||||
app.Version = version.String()
|
||||
app.Usage = "woodpecker agent"
|
||||
app.Action = loop
|
||||
app.Action = runWithRetry
|
||||
app.Commands = []*cli.Command{
|
||||
{
|
||||
Name: "ping",
|
||||
|
Reference in New Issue
Block a user