Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: shutdown gRPC server gracefully (#4626)
RichardYeebccef6033a1
diff --git a/server/server.go b/server/server.goindex bb481d234..69c3e8ef3 100644--- a/server/server.go+++ b/server/server.go@@ -132,6 +132,9 @@ func (s *Server) Shutdown(ctx context.Context) {slog.Error("failed to shutdown server", slog.String("error", err.Error()))}+ // Shutdown gRPC server.+ s.grpcServer.GracefulStop()+// Close database connection.if err := s.Store.Close(); err != nil {slog.Error("failed to close database", slog.String("error", err.Error()))