Skip to content

Commit 84530df

Browse files
committed
add additional note about waiting for the database being too slow
1 parent a0432e9 commit 84530df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ Other than the configuration it should work exactly like any other dbal connecti
131131
- `pauseRetryDelay` (int; default=10) The amount of seconds to wait until another attempt is made
132132
if the last one failed due to the database being paused.
133133
As of writing this, Aurora takes anywhere from 30 seconds to 2 minutes to unpause.
134+
This is way too long to wait in most cases.
135+
Lambda will automatically retry events, so you are normally better of just letting the event fail.
136+
A user also usually won't wait a minute for a page to load, so you should present them with a proper error.
137+
See [Paused databases](#paused-databases) for a way to do that.
134138

135139
### CloudFormation
136140

0 commit comments

Comments
 (0)