* app cleanup

* whoops, forgot a file

* some minor cleanup

* longer container deadline

* defensive checks
Этот коммит содержится в:
Chris
2017-10-09 14:59:48 -07:00
коммит произвёл GitHub
родитель 0f66b6e726
Коммит bff2b5e735
22 изменённых файлов: 165 добавлений и 166 удалений

Просмотреть файл

@@ -85,8 +85,12 @@ func tearDownStores() {
for _, st := range storeTypes {
st := st
go func() {
st.Store.Close()
st.Container.Stop()
if st.Store != nil {
st.Store.Close()
}
if st.Container != nil {
st.Container.Stop()
}
wg.Done()
}()
}

Просмотреть файл

@@ -312,8 +312,8 @@ func UpgradeDatabaseToVersion43(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion44(sqlStore SqlStore) {
if shouldPerformUpgrade(sqlStore, VERSION_4_3_0, VERSION_4_4_0) {
// TODO: Uncomment following when version 4.4.0 is released
//saveSchemaVersion(sqlStore, VERSION_4_4_0)
}
// TODO: Uncomment following when version 4.4.0 is released
//if shouldPerformUpgrade(sqlStore, VERSION_4_3_0, VERSION_4_4_0) {
// saveSchemaVersion(sqlStore, VERSION_4_4_0)
//}
}