Peter Rossbach wrote:
Hi Filip and Remy
Often, if my HTTP request needs to get a database connection and the
connection pool is empty,
the request will block for some period of time. The problem is that the
blocking request will consume a thread while it it blocking.
How can I free up the request thread when the DB pool can be block?
Hmm, there's a fundamental problem IMO: you need a thread to block on
the DB pool anyway.
Can I set a event retry timeout and get back the request thread without
an error?
At the moment, there are only events for IO (including timeout, which is
an "error", but not fatal - you can ignore that event and the connection
will go back to the poller).
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]