Refactor to use Arc's and a mutex instead of plain Rc<&Sqlcon>.

This commit is contained in:
Jordan Petridis
2017-10-18 04:14:09 +03:00
parent 5d01b735d6
commit eccbbf0fc1
3 changed files with 32 additions and 29 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use std::path::Path;
use errors::*;
use hammond_data::dbqueries;
use hammond_data::models::{Episode, Podcast};
use hammond_data::models::Episode;
use hammond_data::{DL_DIR, HAMMOND_CACHE};
// Adapted from https://github.com/mattgathu/rget .