mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
big oof no msg
This commit is contained in:
parent
22d34cf504
commit
1bbb512932
|
|
@ -25,7 +25,6 @@ mod objects;
|
|||
mod utils;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, FromRedisValue, ToRedisArgs)]
|
||||
#[redis_serializer(rmp_serde)]
|
||||
struct State {
|
||||
database: Arc<Database>,
|
||||
}
|
||||
|
|
@ -146,7 +145,7 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
|
|||
}
|
||||
|
||||
info!("memory-saving 'db' in redis..");
|
||||
con.set("ap-layer-db", &state);
|
||||
con.set("ap-layer-db", &state).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue