all repos — honk @ 74b8bee5d64de7897980eb8902a482588aa20d2b

my fork of honk

backend doesn't need database to be open
Ted Unangst tedu@tedunangst.com
Tue, 16 Jan 2024 00:17:02 -0500
commit

74b8bee5d64de7897980eb8902a482588aa20d2b

parent

a1e6df90cec8c7b0956bb7ee816316f9e9081409

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M backend.gobackend.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)