Update SharingTime to 20 min as 15 is not enough
This commit is contained in:
parent
64eb8f2852
commit
ce0c8e0025
2 changed files with 2 additions and 2 deletions
|
|
@ -576,7 +576,7 @@ func TriggerTests(c *gin.Context, work *Work, repo *Repository, u *User) {
|
|||
Key: aws.String(filepath.Join(fmt.Sprintf("%d", work.Id), fmt.Sprintf("rendu-%s.tar.xz", login))),
|
||||
})
|
||||
|
||||
url, err := req.Presign(SharingTime)
|
||||
url, err := req.Presign(SharingTime * 20)
|
||||
if err != nil {
|
||||
log.Println("Unable to create presign URL:", err)
|
||||
c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Something goes wrong when creating the presigned URL."})
|
||||
|
|
|
|||
Reference in a new issue