activerecord-dynamic_timeout 0.0.1.rc1 → 0.0.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55639dda91869cb0dc47c52543cd9becb00c99d0401fe3ba8de74895137798c6
|
4
|
+
data.tar.gz: 7435229decada73df01abdaad9183da8d850512aeb30f2efe30148a0e6e9d981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296df3e1d3484a39921f718ab1ed19ba23fdb009d7adba17cddb7e6320babb23b146cd08e3272bdde7260b150a12a942e75d56ff9405bcc806ba20aa404eb478
|
7
|
+
data.tar.gz: 45ef043b9e41620cb3b8e2561b8f09b12d4d523001f0fa146eff7dbfd35c5db335d172954bbe2cc2d4b1acec743a70f3e0384a01af19549e0617c4910968d4e9
|
data/Gemfile.lock
CHANGED
@@ -52,7 +52,7 @@ module ActiveRecord::DynamicTimeout
|
|
52
52
|
# This ensures new connections from reconnects have the correct timeout.
|
53
53
|
def configure_connection
|
54
54
|
super
|
55
|
-
if
|
55
|
+
if supports_dynamic_timeouts? && active_record_dynamic_timeout
|
56
56
|
set_connection_timeout(@raw_connection, active_record_dynamic_timeout)
|
57
57
|
end
|
58
58
|
end
|
@@ -81,7 +81,7 @@ module ActiveRecord::DynamicTimeout
|
|
81
81
|
# This ensures new connections from reconnects have the correct timeout.
|
82
82
|
def configure_connection
|
83
83
|
super
|
84
|
-
if
|
84
|
+
if supports_dynamic_timeouts? && active_record_dynamic_timeout
|
85
85
|
set_connection_timeout(@connection, active_record_dynamic_timeout)
|
86
86
|
end
|
87
87
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-dynamic_timeout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tristan Starck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|