recycleactor commited on
Commit
e85ab36
·
verified ·
1 Parent(s): 4352622

Upload main.rs

Browse files
Files changed (1) hide show
  1. src/main.rs +1 -0
src/main.rs CHANGED
@@ -47,6 +47,7 @@ struct CdnCacheEntry {
47
  expires_at: std::time::Instant,
48
  }
49
 
 
50
  struct AppState {
51
  api: Arc<Mutex<APIClient>>,
52
  api_by_arl: Arc<RwLock<HashMap<String, Arc<Mutex<APIClient>>>>>,
 
47
  expires_at: std::time::Instant,
48
  }
49
 
50
+ #[derive(Clone)]
51
  struct AppState {
52
  api: Arc<Mutex<APIClient>>,
53
  api_by_arl: Arc<RwLock<HashMap<String, Arc<Mutex<APIClient>>>>>,