Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Jul 23, 2024
1 parent b6e0d02 commit c64f9db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion relay-server/src/services/project_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ impl ProjectSource {
UpstreamProjectSourceService::new(config.clone(), upstream_relay).start();

#[cfg(feature = "processing")]
let redis_maxconns = config.redis().map(|(_, config)| config.max_connections);
let redis_maxconns = config
.redis()
.map(|configs| configs.project_configs.1.max_connections);
#[cfg(feature = "processing")]
let redis_source = _redis.map(|pool| RedisProjectSource::new(config.clone(), pool));

Expand Down

0 comments on commit c64f9db

Please sign in to comment.