Fixed CPU issue - gRPC
This closes
@@ -242,5 +242,6 @@ public class ListenGRPC extends AbstractSessionFactoryProcessor {
@Override
public void onTrigger(ProcessContext context, ProcessSessionFactory sessionFactory) throws ProcessException {
sessionFactoryReference.compareAndSet(null, sessionFactory);
+ context.yield();
}
}
