There is currently a race condition in SqliteStorage between UpdaterImpl and the database worker. The updater spins off a bunch of database queries but doesn't wait for them to complete before marking the feed as idle. This causes problems elsewhere because we assume that articles are only added in the context of an active update.
Plan of Action:
updateSourceArticle should return a QFuture that doesn't complete until we are sure that no more articleAdded signals are going to be emitted
updateFromSource should return a QFuture that doesn't complete until all updateSourceArticle results have completed
the main updater routine should await the result of updateFromSource before continuing.
There is currently a race condition in SqliteStorage between UpdaterImpl and the database worker. The updater spins off a bunch of database queries but doesn't wait for them to complete before marking the feed as idle. This causes problems elsewhere because we assume that articles are only added in the context of an active update.
Plan of Action:
This should hopefully fix #234