mirror of
https://github.com/go-gitea/gitea
synced 2025-01-30 15:27:46 +01:00
6b25f43853
We don't need to risk failure and use time.ParseDuration to get 2 * time.Second. else if isn't really necessary if the conditions are simple enough and lead to the same result.