mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-18 08:36:18 +09:00
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.