Skip to content

Commit

Permalink
ref(relay): fix lint and import
Browse files Browse the repository at this point in the history
  • Loading branch information
Litarnus committed Nov 22, 2024
1 parent 05c70de commit 1b2b3ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions relay-redis/src/real.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,13 @@ pub struct Stats {
pub idle_connections: u32,
}

/// [`ConnectionManager`] for a async redis cluster.
/// [`bb8::ManageConnection`] for a async redis cluster.
pub struct RedisClusterConnectionManager {
client: ClusterClient,
}

impl RedisClusterConnectionManager {
/// Creates a new [`ConnectionManager`] with the provided [`ClusterClient`]
/// Creates a new [`bb8::ManageConnection`] with the provided [`ClusterClient`]
pub fn new(client: ClusterClient) -> Self {
Self { client }
}
Expand Down
7 changes: 4 additions & 3 deletions relay-server/src/services/projects/source/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use relay_base_schema::project::ProjectKey;
use relay_config::{Config, RelayMode};
#[cfg(feature = "processing")]
use relay_config::RedisConfigRef;
use relay_config::{Config, RedisPoolConfigs, RelayMode};
use relay_config::{RedisConfigRef, RedisPoolConfigs};
#[cfg(feature = "processing")]
use relay_redis::{AsyncRedisPool, RedisPool};
use relay_redis::AsyncRedisPool;
use relay_redis::RedisPool;
use relay_system::{Addr, ServiceRunner};
use std::convert::Infallible;
use std::sync::Arc;
Expand Down

0 comments on commit 1b2b3ef

Please sign in to comment.