unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/3] notmuch-deliver: wait for database to become unlocked and test
@ 2011-11-06 11:23 David Riebenbauer
  2011-11-06 11:23 ` [PATCH 1/3] notmuch-deliver: wait for the database to become unlocked David Riebenbauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Riebenbauer @ 2011-11-06 11:23 UTC (permalink / raw)
  To: Notmuch Mailing List

Hi,

I noticed that mail would bounce in my setup, if the xapian database
was locked while notmuch-deliver tried to run.

My solution was to make it wait for some time adn retry. A test
program for is alos included.

Regards,
David

David Riebenbauer (3):
  notmuch-deliver: wait for the database to become unlocked
  notmuch-deliver: test wait for database to become available
  notmuch-deliver: Convert test program to glib main loop.

 contrib/notmuch-deliver/.gitignore          |    2 +
 contrib/notmuch-deliver/Makefile.am         |    2 +-
 contrib/notmuch-deliver/configure.ac        |    1 +
 contrib/notmuch-deliver/src/main.c          |   25 +++-
 contrib/notmuch-deliver/test/Makefile.am    |   26 +++
 contrib/notmuch-deliver/test/nm-test.sh     |    9 +
 contrib/notmuch-deliver/test/nm-testconfig  |   12 ++
 contrib/notmuch-deliver/test/notmuch-lock.c |  226 +++++++++++++++++++++++++++
 contrib/notmuch-deliver/test/testmail       |    7 +
 9 files changed, 306 insertions(+), 4 deletions(-)
 create mode 100644 contrib/notmuch-deliver/test/Makefile.am
 create mode 100755 contrib/notmuch-deliver/test/nm-test.sh
 create mode 100644 contrib/notmuch-deliver/test/nm-testconfig
 create mode 100644 contrib/notmuch-deliver/test/notmuch-lock.c
 create mode 100644 contrib/notmuch-deliver/test/testmail

-- 
1.7.7.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-07  1:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-06 11:23 [PATCH 0/3] notmuch-deliver: wait for database to become unlocked and test David Riebenbauer
2011-11-06 11:23 ` [PATCH 1/3] notmuch-deliver: wait for the database to become unlocked David Riebenbauer
2011-11-06 11:23 ` [PATCH 2/3] notmuch-deliver: test wait for database to become available David Riebenbauer
2011-11-06 11:23 ` [PATCH 3/3] notmuch-deliver: Convert test program to glib main loop David Riebenbauer
2011-11-07  1:32 ` [PATCH 0/3] notmuch-deliver: wait for database to become unlocked and test Ali Polatel

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).