summaryrefslogtreecommitdiff
path: root/alot/db/manager.py
Commit message (Collapse)AuthorAge
* remove deprecated methodPatrick Totzke2015-11-24
| | | | see also issue #794
* just formating (pep8 etc.)Patrick Totzke2014-08-02
|
* adjust error messagePatrick Totzke2013-07-07
|
* move check to add_message directlyPatrick Totzke2013-07-07
|
* raise exception when adding msg no non-indexable pathPatrick Totzke2013-07-07
| | | | i.e., one not below that of notmuch's root path
* Add some comments to the db manager async codeJustus Winter2013-01-24
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* Replace workers std{out,err} by pipes and log anything written to themJustus Winter2013-01-24
| | | | | | | | This will help us identify problems in libnotmuch and reduces visual artifacts (unfortunately libnotmuch writes messages to stderr that used to clobber the curses interface). Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* Join worker processes and keep track of them in the logJustus Winter2013-01-22
| | | | | | | | | This also prevents a zombie from hanging around until the next worker is spawned by multiprocessing. Fixes 411. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* Ignore EINTR in workers when terminating due to SIGTERMJustus Winter2013-01-08
| | | | | | | | | | If the child process is killed using SIGTERM by the parent, send(2) can fail with EINTR. Install a signal handler for SIGTERM and ignore EINTR in this particular case. Fixes #325. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* add callback parameter for FlushCommandPatrick Totzke2012-09-23
|
* cleanup: move DBManager to its own filePatrick Totzke2012-08-10