mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
remove buffer
This commit is contained in:
parent
637b10cc30
commit
c81a1c3754
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user