Use a better mutex
This commit is contained in:
+2
-1
@@ -1,10 +1,11 @@
|
||||
use crate::{db::Db, error::MyError};
|
||||
use activitystreams_new::primitives::XsdAnyUri;
|
||||
use async_mutex::Mutex;
|
||||
use bytes::Bytes;
|
||||
use futures::join;
|
||||
use lru::LruCache;
|
||||
use std::{collections::HashMap, sync::Arc, time::Duration};
|
||||
use tokio::sync::{Mutex, RwLock};
|
||||
use tokio::sync::RwLock;
|
||||
use ttl_cache::TtlCache;
|
||||
use uuid::Uuid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user