We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1832b4f + da17cc3 commit 4026402Copy full SHA for 4026402
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+## 1.0.1 (Jan 25, 2024)
2
+
3
+- Fix: Do not retry on ActiveRecord::QueryCanceled errors
4
5
## 1.0.0 (Aug 24, 2023)
6
7
- Feature: Add support for Rails 7
lib/activerecord/mysql/reconnect.rb
@@ -32,7 +32,8 @@ module Activerecord::Mysql::Reconnect
32
]
33
34
DO_NOT_HANDLE_ERROR = [
35
- ActiveRecord::StatementTimeout
+ ActiveRecord::StatementTimeout,
36
+ ActiveRecord::QueryCanceled
37
38
39
@@handle_r_error_messages = {
lib/activerecord/mysql/reconnect/version.rb
@@ -1,7 +1,7 @@
module Activerecord
module Mysql
module Reconnect
- VERSION = '1.0.0'
+ VERSION = '1.0.1'
end
0 commit comments