mirror of
https://github.com/harness/drone.git
synced 2025-05-06 17:00:54 +08:00
added default 1 hour default timeout for projects
This commit is contained in:
parent
73d2f5c1ca
commit
2448c34c6b
@ -103,6 +103,7 @@ func (h *RepoHandler) PostRepo(w http.ResponseWriter, r *http.Request) error {
|
||||
repo.PullRequest = true
|
||||
repo.PostCommit = true
|
||||
repo.UserID = user.ID
|
||||
repo.Timeout = 3600 // default to 1 hour
|
||||
|
||||
// generate the rsa key
|
||||
key, err := sshutil.GeneratePrivateKey()
|
||||
|
Loading…
Reference in New Issue
Block a user