1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

Do not create the global configuration in homedir by-default, as, correctly, requested on chat. Use iris.WithGlobalConfiguration with a pre-defined iris.yml file on your home directory, existing users will not have any issues, new one will have to create the file before

Former-commit-id: 033f7e96693b13f87b44b445ed166328fea6e0a0
This commit is contained in:
Gerasimos Maropoulos
2018-03-27 09:59:29 +03:00
parent 66d367b255
commit fc0f27c4fc
11 changed files with 35 additions and 35 deletions

View File

@@ -771,7 +771,7 @@ func (app *Application) Run(serve Runner, withOrWithout ...Configurator) error {
app.logger.Debugf("Application: running using %d host(s)", len(app.Hosts)+1)
if !app.config.DisableVersionChecker {
go maintenance.Start(globalConfigurationExisted)
go maintenance.Start()
}
// this will block until an error(unless supervisor's DeferFlow called from a Task).