wafris 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lua/dist/wafris_core.lua +2 -2
- data/lib/wafris/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e59021c91ef33a5cb03b5071a0f3587b5cd9fa7431bb40b6ab3d3280c2eee3f7
|
4
|
+
data.tar.gz: de5e1e736eae978491dc024b00acc430163181ff0f4cb2eb3b36a06d5b6b044a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1201aa1f654b85c818e2dbe466a70f81f47411a910b7abb5cd3f063a49004103f9f5db8f9a5c899e22c4342dcf55542039c2095e4106cca2a4d44aa4078cca
|
7
|
+
data.tar.gz: 9cd99f5e73bc90032ab7a65efeb33829ae6f7e7d75bfc1b4d9f946a1384a38b64c7cf268368296cf0ab4734429ef4a9fe64d807cd19ec0fd46e5e4129a344f10
|
@@ -64,8 +64,8 @@ local function get_request_id(timestamp, ip, max_requests)
|
|
64
64
|
end
|
65
65
|
|
66
66
|
local function add_to_graph_timebucket(timebucket, request_id)
|
67
|
-
local key = wafris_prefix .. "gr-ct:"
|
68
|
-
redis.call("PFADD", key
|
67
|
+
local key = wafris_prefix .. "gr-ct:" .. timebucket
|
68
|
+
redis.call("PFADD", key, request_id)
|
69
69
|
-- Expire the key after 25 hours if it has no expiry
|
70
70
|
redis.call("EXPIRE", key, 90000)
|
71
71
|
end
|
data/lib/wafris/version.rb
CHANGED