Limit the number of threads used by topicdb
trinhdn97 opened this issue · 0 comments
trinhdn97 commented
Currently the searchParallel
function in topicsdb
will try to match all log patterns in blocks at the same time. It may used up all the threads allocated by the global pool if the set of log patterns are complex enough. Maybe we should limit the max number of threads used each time we need to match log patterns?