Skip to content

[9.x] Add new DetectLostConnections for Vapor with Octane and Proxy RDS - #42377

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
d8vjork:9.x
May 13, 2022
Merged

[9.x] Add new DetectLostConnections for Vapor with Octane and Proxy RDS#42377
taylorotwell merged 1 commit into
laravel:9.xfrom
d8vjork:9.x

Conversation

@d8vjork

@d8vjork d8vjork commented May 13, 2022

Copy link
Copy Markdown
Contributor

As we're receiving a lot of Sentry errors since we moved our Vapor application to Octane

I create this PR to ensure that these queries get retried before we ignore this kind of exceptions from being reported to our Sentry.

Example:

image

Illuminate\Database\QueryException
PDO::prepare(): SSL: Operation timed out (SQL: select * from `processes` where (exists (select * from `workspaces` where `processes`.`workspace_id` = `workspaces`.`id` and (`workspaces`.`id` = ... or `workspaces`.`slug` = ...) and `workspaces`.`deleted_at` is null) and `is_shared` = 1 and `slug` like %-preview) and `processes`.`deleted_at` is null order by `created_at` desc limit 31)

@d8vjork d8vjork changed the title Add new DetectLostConnections for Vapor with Octane and Proxy RDS [9.x] Add new DetectLostConnections for Vapor with Octane and Proxy RDS May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants