@@ -38,11 +38,6 @@ type SQLStorageAuthorityRO struct {
3838 dbReadOnlyMap * db.WrappedMap
3939 dbIncidentsMap * db.WrappedMap
4040
41- // For RPCs that generate multiple, parallelizable SQL queries, this is the
42- // max parallelism they will use (to avoid consuming too many MariaDB
43- // threads).
44- parallelismPerRPC int
45-
4641 // lagFactor is the amount of time we're willing to delay before retrying a
4742 // request that may have failed due to replication lag. For example, a user
4843 // might create a new account and then immediately create a new order, but
@@ -71,7 +66,6 @@ func NewSQLStorageAuthorityRO(
7166 dbReadOnlyMap * db.WrappedMap ,
7267 dbIncidentsMap * db.WrappedMap ,
7368 stats prometheus.Registerer ,
74- parallelismPerRPC int ,
7569 lagFactor time.Duration ,
7670 clk clock.Clock ,
7771 logger blog.Logger ,
@@ -82,13 +76,12 @@ func NewSQLStorageAuthorityRO(
8276 }, []string {"method" , "result" })
8377
8478 ssaro := & SQLStorageAuthorityRO {
85- dbReadOnlyMap : dbReadOnlyMap ,
86- dbIncidentsMap : dbIncidentsMap ,
87- parallelismPerRPC : parallelismPerRPC ,
88- lagFactor : lagFactor ,
89- clk : clk ,
90- log : logger ,
91- lagFactorCounter : lagFactorCounter ,
79+ dbReadOnlyMap : dbReadOnlyMap ,
80+ dbIncidentsMap : dbIncidentsMap ,
81+ lagFactor : lagFactor ,
82+ clk : clk ,
83+ log : logger ,
84+ lagFactorCounter : lagFactorCounter ,
9285 }
9386
9487 return ssaro , nil
0 commit comments