Skip to content

Commit

Permalink
trigger semians when mysql connections are exhausted
Browse files Browse the repository at this point in the history
  • Loading branch information
pakohler committed Apr 23, 2024
1 parent fa197f6 commit 104a551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/semian/mysql2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ module Mysql2
/Too many connections/i,
/closed MySQL connection/i,
/Timeout waiting for a response/i,
/No matching servers with free connections/i,
/Max connect timeout reached while reaching hostgroup/i,
)

ResourceBusyError = ::Mysql2::ResourceBusyError
Expand Down

0 comments on commit 104a551

Please sign in to comment.