error resolve

Signed-off-by: Vanshikav123 <vanshikav928@gmail.com>
This commit is contained in:
Vanshikav123 2024-08-24 14:44:40 +05:30
parent 3e036a2069
commit 954009132c

View file

@ -51,7 +51,7 @@ func NewWithError() (*TestStorage, error) {
opts.MaxBlockDuration = int64(24 * time.Hour / time.Millisecond)
opts.RetentionDuration = 0
opts.EnableNativeHistograms = true
opts.OutOfOrderTimeWindow = 600000
// opts.OutOfOrderTimeWindow = 600000
db, err := tsdb.Open(dir, nil, nil, opts, tsdb.NewDBStats())
if err != nil {
return nil, fmt.Errorf("opening test storage: %w", err)