remove buffer

This commit is contained in:
Michael Quigley 2023-03-07 11:46:34 -05:00
parent 637b10cc30
commit c81a1c3754
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -22,7 +22,7 @@ func Run(cfg *Config) (*MetricsAgent, error) {
return nil, errors.New("invalid 'source'; exiting") return nil, errors.New("invalid 'source'; exiting")
} }
events := make(chan map[string]interface{}, 1024) events := make(chan map[string]interface{})
join, err := src.Start(events) join, err := src.Start(events)
if err != nil { if err != nil {
return nil, errors.Wrap(err, "error starting source") return nil, errors.Wrap(err, "error starting source")