v0.9.3 db and web fixes for deployment
This commit is contained in:
1 parent
e689ca83a2
commit
84bd5d40c8
8 files changed
+72
-41
No files matched your search
@@ -75,6 +75,9 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to initialize storage: %v", err)
|
||||
}
|
||||
if err := store.InitDB(); err != nil {
|
||||
log.Fatalf("Failed to initialize schema: %v", err)
|
||||
}
|
||||
defer func() {
|
||||
if err := store.Close(); err != nil {
|
||||
log.Printf("Warning: failed to close storage cleanly: %v", err)
|
||||
@@ -189,4 +192,5 @@ func main() {
|
||||
}
|
||||
|
||||
log.Println("Servers exited")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user