Improve packets generation

This commit is contained in:
2024-05-30 19:49:06 +03:00
parent 9c5206c6c1
commit 2f8034ae12
3 changed files with 5 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ func NewApplication(ctx context.Context) (Application, error) {
acc := accumulator.NewAccumulator(pool.Out())
src := randomsource.NewService(in, cfg.PacketInputInterval, 100)
src := randomsource.NewService(in, cfg.PacketInputInterval, cfg.PacketMaxValues)
pub := stdoutpub.NewService()