Do a fast-fail testing on repository URL before mirroring

To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
This commit is contained in:
Unknwon
2017-01-31 18:40:38 -05:00
parent 0cfcaca351
commit d293aa9ced
7 changed files with 29 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.128.0131"
const APP_VER = "0.9.129.0131"
func init() {
setting.AppVer = APP_VER