File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ func action(ctx *cli.Context) error {
5252
5353 var db * gorm.DB
5454 if dbCfg := cfg .ProxyManager .DB ; dbCfg != nil {
55+ log .Info ("Apply persistent storage" , "via" , cfg .ProxyManager .DB .DSN )
5556 db , err = database .InitDB (cfg .ProxyManager .DB )
5657 if err != nil {
5758 log .Crit ("failed to init db connection" , "err" , err )
Original file line number Diff line number Diff line change 1212 "verifier" : {
1313 "min_prover_version" : " v4.4.45" ,
1414 "verifiers" : []
15- }
15+ },
16+ "db" : {
17+ "driver_name" : " postgres" ,
18+ "dsn" : " postgres://localhost/scroll?sslmode=disable" ,
19+ "maxOpenNum" : 200 ,
20+ "maxIdleNum" : 20
21+ }
1622 },
1723 "coordinators" : {
1824 "sepolia" : {
2127 "retry_wait_time_sec" : 10 ,
2228 "connection_timeout_sec" : 30
2329 }
24- },
25- "db" : {
26- "driver_name" : " postgres" ,
27- "dsn" : " postgres://localhost/scroll?sslmode=disable" ,
28- "maxOpenNum" : 200 ,
29- "maxIdleNum" : 20
30- }
30+ }
3131}
You can’t perform that action at this time.
0 commit comments