Improve performance by minimizing commits.
commitc2db36d697f060dc57d8ecef9126c823c877f745
authorJustin Forest <justin.forest@gmail.com>
Mon, 6 Oct 2008 18:58:03 +0000 (6 22:58 +0400)
committerThomas Perl <thp@perli.net>
Tue, 14 Oct 2008 16:38:38 +0000 (14 18:38 +0200)
treef5848b5414b57ec588c848a9be7e87ea2c969bef
parente0b84d2290984269eca075e0355b0e6bf66a8595
Improve performance by minimizing commits.

Changes to the database are only commited after a channel is added,
updated or when all downloads are finished, but not during episode
related operations.  The threaded feed updater benefits the most
from this change.
src/gpodder/dbsqlite.py
src/gpodder/gui.py
src/gpodder/libgpodder.py
src/gpodder/libpodcasts.py