one goroutine handles all matches

it's not the filters that handles their matches anymore
This commit is contained in:
ppom
2023-09-09 23:38:53 +02:00
parent da9ed42363
commit 52556f69b9
6 changed files with 190 additions and 112 deletions

View File

@ -5,7 +5,7 @@ patterns:
streams:
tailDown:
cmd: [ "sh", "-c", "sleep 6; echo found 1; echo found 2; sleep 10" ]
cmd: [ "sh", "-c", "sleep 2; echo found 1; echo found 2; sleep 2" ]
filters:
findIP:
regex: