Othernet-Project / librarian

Content indexer for Outernet receivers
GNU General Public License v3.0
47 stars 14 forks source link

The ftp component of librarian uses multiprocessing, forking the main #390

Closed n0phx closed 8 years ago

n0phx commented 8 years ago

process for each client. This caused the whole task scheduler to execute tasks in parallel from all the processes (main and forks as well), which lead to unforeseen errors during concurrent database access. The new version of greentasks has a flag to disallow running from forks, and this patch sets librarian up to use it.