File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ extern crate tracing;
15
15
16
16
use anyhow:: Context ;
17
17
use crates_io:: cloudfront:: CloudFront ;
18
- use crates_io:: db:: DieselPool ;
19
18
use crates_io:: fastly:: Fastly ;
20
19
use crates_io:: storage:: Storage ;
21
20
use crates_io:: team_repo:: TeamRepoImpl ;
@@ -96,7 +95,6 @@ fn main() -> anyhow::Result<()> {
96
95
. cloudfront ( cloudfront)
97
96
. fastly ( fastly)
98
97
. storage ( storage)
99
- . connection_pool ( DieselPool :: new_background_worker ( connection_pool. clone ( ) ) )
100
98
. deadpool ( deadpool)
101
99
. emails ( emails)
102
100
. team_repo ( Box :: new ( team_repo) )
Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ impl TestAppBuilder {
280
280
. config ( app. config . clone ( ) )
281
281
. repository_config ( repository_config)
282
282
. storage ( app. storage . clone ( ) )
283
- . connection_pool ( app. primary_database . clone ( ) )
284
283
. deadpool ( app. deadpool_primary . clone ( ) )
285
284
. emails ( app. emails . clone ( ) )
286
285
. team_repo ( Box :: new ( self . team_repo ) )
Original file line number Diff line number Diff line change 1
1
use crate :: cloudfront:: CloudFront ;
2
- use crate :: db:: DieselPool ;
3
2
use crate :: fastly:: Fastly ;
4
3
use crate :: storage:: Storage ;
5
4
use crate :: team_repo:: TeamRepo ;
@@ -27,7 +26,6 @@ pub struct Environment {
27
26
#[ builder( default ) ]
28
27
fastly : Option < Fastly > ,
29
28
pub storage : Arc < Storage > ,
30
- pub connection_pool : DieselPool ,
31
29
pub deadpool : DeadpoolPool ,
32
30
pub emails : Emails ,
33
31
pub team_repo : Box < dyn TeamRepo + Send + Sync > ,
You can’t perform that action at this time.
0 commit comments