fix 修复没达到阈值就推送的bug

This commit is contained in:
timerzz 2024-12-03 09:34:04 +08:00
parent 03ad24f689
commit 1e799ae1c2

View File

@ -36,6 +36,7 @@ func NewController(ctx context.Context, cfg *options.Config, client *coach_clien
ctx: ctx,
providerId: cfg.ProviderId,
interval: cfg.AtsInterval,
threshold: cfg.AtsThreshold,
client: client,
storage: storage.NewStorage(db),
tracers: NewTracers(storage.NewStorage(db), cfg.ProviderId),