Auto-vacuum when refresh feeds with the cronjob

This commit is contained in:
Frederic Guillot 2013-04-23 21:41:04 -04:00
parent 5a2869e258
commit 4b91640cc1

View File

@ -114,6 +114,9 @@ function update_feeds()
update_feed($feed_id);
}
// Auto-vacuum for people using the cronjob
\PicoTools\singleton('db')->getConnection()->exec('VACUUM');
}