fix 修复没达到阈值就推送的bug
This commit is contained in:
parent
03ad24f689
commit
1e799ae1c2
@ -36,6 +36,7 @@ func NewController(ctx context.Context, cfg *options.Config, client *coach_clien
|
|||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
providerId: cfg.ProviderId,
|
providerId: cfg.ProviderId,
|
||||||
interval: cfg.AtsInterval,
|
interval: cfg.AtsInterval,
|
||||||
|
threshold: cfg.AtsThreshold,
|
||||||
client: client,
|
client: client,
|
||||||
storage: storage.NewStorage(db),
|
storage: storage.NewStorage(db),
|
||||||
tracers: NewTracers(storage.NewStorage(db), cfg.ProviderId),
|
tracers: NewTracers(storage.NewStorage(db), cfg.ProviderId),
|
||||||
|
Loading…
Reference in New Issue
Block a user