"comment_aggregates",
"community_aggregates",
] {
- reindex_table(&conn, &table_name);
+ reindex_table(conn, table_name);
}
}
/// Clear old activities (this table gets very large)
fn clear_old_activities(conn: &PgConnection) {
info!("Clearing old activities...");
- Activity::delete_olds(&conn).expect("clear old activities");
+ Activity::delete_olds(conn).expect("clear old activities");
info!("Done.");
}