rack-timeout 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/timeout.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a99f11768e4de71a88bbc6eafa4bbb5817cf639
|
4
|
+
data.tar.gz: 1e5d53984df8f0152c945a9dd2d19a0c60a0b78a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae467f02c8ceefed9e53a40214595a9e3daa2f28b71500b1f28230e322f420e07b1f0bac83b0115e9dae8b13df4100bd734d64b007959e697afb773530286633
|
7
|
+
data.tar.gz: 5926a3baff52db4aa3bb7a2c63c3c988431820565faaef508e2420f34ae1b8ca86b0b09762d229dadb215308a007c1116344c9bf607f788a7ace13487d71225f
|
data/lib/rack/timeout.rb
CHANGED
@@ -3,7 +3,7 @@ require 'securerandom'
|
|
3
3
|
|
4
4
|
module Rack
|
5
5
|
class Timeout
|
6
|
-
class Error <
|
6
|
+
class Error < Exception; end # superclass for the following…
|
7
7
|
class RequestExpiryError < Error; end # raised when a request is dropped without being given a chance to run (because too old)
|
8
8
|
class RequestTimeoutError < Error; end # raised when a request has run for too long
|
9
9
|
|