slowpoke 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -1
- data/LICENSE.txt +1 -1
- data/README.md +1 -29
- data/lib/slowpoke/version.rb +1 -1
- metadata +6 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7db97cc38b9a3d1edbd3254cc8d615b7b9415232862c9ca486eb5e4663c0f0b
|
4
|
+
data.tar.gz: 88a3dffccba9ebfa79d5c30d5eb9c0ebf297ff1b5dc1acb19300272dd6b74a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e1b4dc76819ae7a0c570ae9a18d271dcb803965ba5c2fdcf79c445a0e006d275b1b9bdf7b317b591ef22dd13530d3e1b6e6937cf12b5821422e5be3f5f4a63b
|
7
|
+
data.tar.gz: f5ab6c527213fa6bfa6a578b7a340e115d22994a1827fbfff1fa118f433e477294f7bedd363babc39bdc39809cbbb25b3b00580f3934d64f20819950e5738324
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.6.0 (2025-02-01)
|
2
|
+
|
3
|
+
- Dropped support for Ruby < 3.1 and Rails < 7
|
4
|
+
|
1
5
|
## 0.5.0 (2023-07-02)
|
2
6
|
|
3
7
|
- Dropped support for rack-timeout < 0.6
|
@@ -36,7 +40,7 @@
|
|
36
40
|
## 0.1.3 (2016-08-03)
|
37
41
|
|
38
42
|
- Fixed deprecation warning in Rails 5
|
39
|
-
- No longer requires
|
43
|
+
- No longer requires Active Record
|
40
44
|
|
41
45
|
## 0.1.2 (2016-02-10)
|
42
46
|
|
@@ -46,3 +50,32 @@
|
|
46
50
|
|
47
51
|
- Fixed safer service timeouts
|
48
52
|
- Added migration statement timeout
|
53
|
+
|
54
|
+
## 0.1.0 (2015-06-24)
|
55
|
+
|
56
|
+
- Prevent `RequestExpiryError` from killing web server
|
57
|
+
- Removed database timeouts
|
58
|
+
|
59
|
+
## 0.0.6 (2015-03-15)
|
60
|
+
|
61
|
+
- Switched to `safely_block` gem
|
62
|
+
|
63
|
+
## 0.0.5 (2015-03-04)
|
64
|
+
|
65
|
+
- Fixed error when Postgres is not used
|
66
|
+
|
67
|
+
## 0.0.4 (2014-10-31)
|
68
|
+
|
69
|
+
- Added `REQUEST_TIMEOUT` and `DATABASE_TIMEOUT` variables
|
70
|
+
|
71
|
+
## 0.0.3 (2014-10-22)
|
72
|
+
|
73
|
+
- Improved handling of timeouts
|
74
|
+
|
75
|
+
## 0.0.2 (2014-10-22)
|
76
|
+
|
77
|
+
- Added process protection
|
78
|
+
|
79
|
+
## 0.0.1 (2014-10-21)
|
80
|
+
|
81
|
+
- First release
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
- dynamic timeouts
|
7
7
|
- custom error pages
|
8
8
|
|
9
|
-
[](https://github.com/ankane/slowpoke/actions)
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
@@ -104,34 +104,6 @@ production:
|
|
104
104
|
statement_timeout: 5s
|
105
105
|
```
|
106
106
|
|
107
|
-
## Upgrading
|
108
|
-
|
109
|
-
### 0.3.0
|
110
|
-
|
111
|
-
If you set the timeout with:
|
112
|
-
|
113
|
-
```ruby
|
114
|
-
Slowpoke.timeout = 5
|
115
|
-
```
|
116
|
-
|
117
|
-
Remove it and add to `config/environments/production.rb`:
|
118
|
-
|
119
|
-
```ruby
|
120
|
-
config.slowpoke.timeout = 5
|
121
|
-
```
|
122
|
-
|
123
|
-
If you use migration timeouts, check out [this guide](https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts/#statement-timeouts-1) for how to configure them directly in `config/database.yml`.
|
124
|
-
|
125
|
-
### 0.1.0
|
126
|
-
|
127
|
-
`0.1.0` removes database timeouts, since Rails supports them by default. To restore the previous behavior, use:
|
128
|
-
|
129
|
-
```yaml
|
130
|
-
production:
|
131
|
-
variables:
|
132
|
-
statement_timeout: <%= Slowpoke.timeout * 1000 %>
|
133
|
-
```
|
134
|
-
|
135
107
|
## History
|
136
108
|
|
137
109
|
View the [changelog](https://github.com/ankane/slowpoke/blob/master/CHANGELOG.md)
|
data/lib/slowpoke/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slowpoke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-01 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: railties
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '7'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
25
|
+
version: '7'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: actionpack
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,7 +51,6 @@ dependencies:
|
|
52
51
|
- - ">="
|
53
52
|
- !ruby/object:Gem::Version
|
54
53
|
version: '0.6'
|
55
|
-
description:
|
56
54
|
email: andrew@ankane.org
|
57
55
|
executables: []
|
58
56
|
extensions: []
|
@@ -72,7 +70,6 @@ homepage: https://github.com/ankane/slowpoke
|
|
72
70
|
licenses:
|
73
71
|
- MIT
|
74
72
|
metadata: {}
|
75
|
-
post_install_message:
|
76
73
|
rdoc_options: []
|
77
74
|
require_paths:
|
78
75
|
- lib
|
@@ -80,15 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
77
|
requirements:
|
81
78
|
- - ">="
|
82
79
|
- !ruby/object:Gem::Version
|
83
|
-
version: '3'
|
80
|
+
version: '3.1'
|
84
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
82
|
requirements:
|
86
83
|
- - ">="
|
87
84
|
- !ruby/object:Gem::Version
|
88
85
|
version: '0'
|
89
86
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
87
|
+
rubygems_version: 3.6.2
|
92
88
|
specification_version: 4
|
93
89
|
summary: Rack::Timeout enhancements for Rails
|
94
90
|
test_files: []
|