Concurrent access issues with plugins #90
Labels
needs investigation
It looks as though have all the information needed but investigation is required
plugin api
Related specifically to the Go plugin API
Using go routine to frequently call this method causes the service to crash.
package main
import (
"context"
)
func main() {
panicOnErr := func(err error) {
if err != nil {
panic(err)
}
}
input:
generate:
count: 1
interval: 1ms
mapping: 'root = "hello world"'
processors:
- mapping: 'root = content().uppercase()'
output:
stdout: {}
logger:
level: none
`)
panicOnErr(err)
}
How to solve this problem?
The text was updated successfully, but these errors were encountered: