Added initial feed indexing benchmark.

This commit is contained in:
Jordan Petridis
2017-11-14 14:09:13 +02:00
parent 03637903c6
commit edd694e7d6
2 changed files with 86 additions and 1 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ pub fn complete_index_from_source(
complete_index(db, &chan, source)
}
fn complete_index(db: &Database, chan: &rss::Channel, parent: &Source) -> Result<()> {
pub fn complete_index(db: &Database, chan: &rss::Channel, parent: &Source) -> Result<()> {
let pd = {
let conn = db.lock().unwrap();
index_channel(&conn, chan, parent)?