diff options
author | Reto Brunner <reto@labrat.space> | 2020-11-26 07:31:05 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-12-02 09:06:34 +0100 |
commit | a9330f4c63816ed79f6d150e998f003bea9478dd (patch) | |
tree | 4e82a241e7dcddd594378bb80c599f23c323c755 /worker | |
parent | 7bc556740a519ebf486932d920ba9d9d59b25434 (diff) | |
download | aerc-a9330f4c63816ed79f6d150e998f003bea9478dd.tar.gz |
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.
Diffstat (limited to 'worker')
-rw-r--r-- | worker/notmuch/lib/database.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } } |