Hi everyone, Our gRPC server runs on a ThreadPoolExecutor with a corePoolSize of 4 and a maximumPoolSize of 16. In order to have the pool size increase, we provide a BlockingQueue with a bounded size of 20.
Sometimes short bursts happen and we're perfectly fine with dropping requests at this moment, we provided a custom RejectionExecutionHandler that increases a counter we are monitoring. However, this rejection handler is not aware of the request itself, it only sees a Runnable. My question is: are the requests automatically canceled if they could not get queued? Do I need to cancel them manually somehow? Thanks -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f6272913-c632-4754-9f05-6abe7b7e2dd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.