You need to sign in to do that
Don't have an account?
David Dev 2
How to catch common.util.database.connectionpooltimeoutexception?
We are using apex:actionFunction to run a method every minute. We get a common.util.database.connectionpooltimeoutexception from time to time. How do we catch the exception so it doesn't break the window?
The full error is:
common.util.database.connectionpooltimeoutexception. Request Timed out waiting for connection:[config 200ms, actual 201ms]
The full error is:
common.util.database.connectionpooltimeoutexception. Request Timed out waiting for connection:[config 200ms, actual 201ms]
KevinP
I'm not entirely sure you *can* catch that error. However, you can adjust the timeout value on your action function with the timeout parameter: