<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/worker/notmuch/lib, branch master</title>
<subtitle>Mirror of https://git.sr.ht/~sircmpwn/aerc
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/'/>
<entry>
<title>notmuch: avoid stale DBs</title>
<updated>2020-02-16T15:41:10+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-02-15T08:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=3e7e236f50265d53528b3168c192a0254413db06'/>
<id>3e7e236f50265d53528b3168c192a0254413db06</id>
<content type='text'>
Opening a notmuch DB gives you a snapshot of the stage at that specific time.
Prior to this, we only reopened the DB upon writing.
However, if say a mail sync program like offlineimap is fetching new mail,
we would never pick it up.

This commit caches a db for a while, so that we don't generate too much overhead
and does a reconnect cycle after that.

I hardcoded a value as I don't think that having an option would be beneficial.
Any write operation (meaning reading mail) anyhow flushes the DB by necessity.
(we need to close to commit tag changes, which changing the read state is)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Opening a notmuch DB gives you a snapshot of the stage at that specific time.
Prior to this, we only reopened the DB upon writing.
However, if say a mail sync program like offlineimap is fetching new mail,
we would never pick it up.

This commit caches a db for a while, so that we don't generate too much overhead
and does a reconnect cycle after that.

I hardcoded a value as I don't think that having an option would be beneficial.
Any write operation (meaning reading mail) anyhow flushes the DB by necessity.
(we need to close to commit tag changes, which changing the read state is)
</pre>
</div>
</content>
</entry>
<entry>
<title>notmuch: emit LabelList event</title>
<updated>2019-12-21T16:20:11+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2019-12-21T15:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=40ceee969bd29508c1da28052c95eb85a52650ba'/>
<id>40ceee969bd29508c1da28052c95eb85a52650ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>notmuch: sync maildir flags</title>
<updated>2019-09-16T16:19:14+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2019-09-13T06:48:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=3f452ca283e7e1b0e0f75f386f7551c0766d8704'/>
<id>3f452ca283e7e1b0e0f75f386f7551c0766d8704</id>
<content type='text'>
Syncs back special notmuch tag like unread to the underlying maildir store
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Syncs back special notmuch tag like unread to the underlying maildir store
</pre>
</div>
</content>
</entry>
<entry>
<title>notmuch: extract all notmuch db operations.</title>
<updated>2019-09-16T16:19:13+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2019-09-13T06:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=83207c1e1d00d118a2bba20d9fd178f32d7f88da'/>
<id>83207c1e1d00d118a2bba20d9fd178f32d7f88da</id>
<content type='text'>
For some reason the current code frequently segfaults due to an
invalid C memory address. This commit mediates that by never keeping an object
alive longer than absolutely necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason the current code frequently segfaults due to an
invalid C memory address. This commit mediates that by never keeping an object
alive longer than absolutely necessary.
</pre>
</div>
</content>
</entry>
</feed>
