File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -593,7 +593,6 @@ async fn main() {
593
593
subscriptions. clone ( ) ,
594
594
postgres_conn_pool. clone ( ) ,
595
595
stores_metrics_registry. clone ( ) ,
596
- * EXPERIMENTAL_READONLY_DB ,
597
596
) ) ,
598
597
)
599
598
} )
Original file line number Diff line number Diff line change @@ -196,15 +196,12 @@ impl Store {
196
196
subscriptions : Option < Arc < SubscriptionManager > > ,
197
197
pool : Pool < ConnectionManager < PgConnection > > ,
198
198
registry : Arc < dyn MetricsRegistry > ,
199
- readonly_db : bool ,
200
199
) -> Self {
201
200
// Create a store-specific logger
202
201
let logger = logger. new ( o ! ( "component" => "Store" ) ) ;
203
202
204
203
// Create the entities table (if necessary)
205
- if !readonly_db {
206
- initiate_schema ( & logger, & pool. get ( ) . unwrap ( ) , & pool. get ( ) . unwrap ( ) ) ;
207
- }
204
+ initiate_schema ( & logger, & pool. get ( ) . unwrap ( ) , & pool. get ( ) . unwrap ( ) ) ;
208
205
209
206
// Create the store
210
207
let store = StoreInner {
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ lazy_static! {
76
76
Some ( subscriptions) ,
77
77
postgres_conn_pool,
78
78
registry. clone( ) ,
79
- false ,
80
79
) )
81
80
} )
82
81
} ) . join( ) . unwrap( )
You can’t perform that action at this time.
0 commit comments