chore(userspace): log the gRPC threadiness

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato 2020-06-22 15:43:33 +00:00 committed by poiana
parent 2d52be603d
commit 553856ad68

View File

@ -1206,6 +1206,7 @@ int falco_init(int argc, char **argv)
// gRPC server // gRPC server
if(config.m_grpc_enabled) if(config.m_grpc_enabled)
{ {
falco_logger::log(LOG_INFO, "gRPC server threadiness equals to " + to_string(config.m_grpc_threadiness) + "\n");
// TODO(fntlnz,leodido): when we want to spawn multiple threads we need to have a queue per thread, or implement // TODO(fntlnz,leodido): when we want to spawn multiple threads we need to have a queue per thread, or implement
// different queuing mechanisms, round robin, fanout? What we want to achieve? // different queuing mechanisms, round robin, fanout? What we want to achieve?
grpc_server.init( grpc_server.init(