File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
common/persistence/persistence-factory Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ func buildRatelimiters(cfg *config.Persistence) map[string]common.TokenBucket {
299299 qps = ds .SQL .MaxQPS
300300 }
301301 if qps > 0 {
302- result [dsName ] = common .NewTokenBucket (ds . Cassandra . MaxQPS , common .NewRealTimeSource ())
302+ result [dsName ] = common .NewTokenBucket (qps , common .NewRealTimeSource ())
303303 }
304304 }
305305 return result
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ task_list VARCHAR(255) NOT NULL,
237237started_identity VARCHAR (255 ) NOT NULL ,
238238has_retry_policy BOOLEAN NOT NULL ,
239239init_interval INT NOT NULL ,
240- backoff_coefficient DOUBLE NOT NULL ,
240+ backoff_coefficient DOUBLE,
241241max_interval INT NOT NULL ,
242242expiration_time TIMESTAMP (3 ) NOT NULL DEFAULT ' 1970-01-01 00:00:01.000' ,
243243max_attempts INT NOT NULL ,
You can’t perform that action at this time.
0 commit comments