summaryrefslogtreecommitdiff
path: root/worker
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-11-26 07:31:05 +0100
committerReto Brunner <reto@labrat.space>2020-12-02 09:06:34 +0100
commita9330f4c63816ed79f6d150e998f003bea9478dd (patch)
tree4e82a241e7dcddd594378bb80c599f23c323c755 /worker
parent7bc556740a519ebf486932d920ba9d9d59b25434 (diff)
downloadaerc-a9330f4c63816ed79f6d150e998f003bea9478dd.zip
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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/notmuch/lib/database.go b/worker/notmuch/lib/database.go
index ea6af93..683ace5 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
}
}