From a9330f4c63816ed79f6d150e998f003bea9478dd Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 26 Nov 2020 07:31:05 +0100 Subject: notmuch: remove gc close hooks We frequently had issues with notmuch segfaulting and my guess is that this was due to the garbage collection magic used in the module. This changes to a fork that ripped the functionality out. --- worker/notmuch/lib/database.go | 1 + 1 file changed, 1 insertion(+) (limited to 'worker/notmuch/lib/database.go') diff --git a/worker/notmuch/lib/database.go b/worker/notmuch/lib/database.go index ea6af93d..683ace58 100644 --- a/worker/notmuch/lib/database.go +++ b/worker/notmuch/lib/database.go @@ -70,6 +70,7 @@ func (db *DB) withConnection(writable bool, cb func(*notmuch.DB) error) error { } err := db.connect(writable) if err != nil { + db.logger.Printf("failed to open the notmuch db: %v", err) return err } } -- cgit