backend doesn't need database to be open
Ted Unangst tedu@tedunangst.com
Tue, 16 Jan 2024 00:17:02 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
backend.go
→
backend.go
@@ -141,12 +141,12 @@ func orphancheck() {
var b [1]byte os.Stdin.Read(b[:]) dlog.Printf("backend shutting down") - closedatabases() os.Exit(0) } func backendServer() { dlog.Printf("backend server running") + closedatabases() go orphancheck() signal.Ignore(syscall.SIGINT) shrinker := new(Shrinker)