mirror of
https://github.com/harness/drone.git
synced 2025-05-05 05:01:46 +08:00
Add explicit default for DRONE_KEEPALIVE_TIMEOUT
This commit is contained in:
parent
fc22c5b39a
commit
36f99c9a3f
@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/drone/drone/version"
|
||||
|
||||
@ -89,6 +90,7 @@ func main() {
|
||||
EnvVar: "DRONE_KEEPALIVE_TIMEOUT",
|
||||
Name: "keepalive-timeout",
|
||||
Usage: "after having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed.",
|
||||
Value: time.Second * 20,
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user