Investigate if we can stop ServiceRequestContextBuilder.build()
from scheduling an event loop task
#5683
Labels
ServiceRequestContextBuilder.build()
from scheduling an event loop task
#5683
DefaultCancellationScheduler.initAndStart()
and (CancellationScheduler.finished()
) is called by{Service,Client}RequestContextBuilder.build()
here.initAndStart()
andfinished()
schedule some of its work to run in an event loop.This behavior can cause the task queue of the
EventLoop
to grow unexpectedly big and even triggerOutOfMemoryError
under load.We could prevent this by making the following changes:
The text was updated successfully, but these errors were encountered: