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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db4ac55c07f22ff09c83a0d4a1056eb9bbdd14f28c9704978ac8faef7ba438b9
4
- data.tar.gz: 8d114c0ca77681e7c9bd20b39a565973a968031980b28fed9964bd0c78213eb1
3
+ metadata.gz: e59021c91ef33a5cb03b5071a0f3587b5cd9fa7431bb40b6ab3d3280c2eee3f7
4
+ data.tar.gz: de5e1e736eae978491dc024b00acc430163181ff0f4cb2eb3b36a06d5b6b044a
5
5
  SHA512:
6
- metadata.gz: 0b5f0d3e83fa9d33874aa21170aa89a0126745cd3f9de4e4a6c2b299c86d519763601a97e4b76fd2675d69cd0fa5529cb5582a741591e5f7d2c57f5ad0fb4743
7
- data.tar.gz: ecebfb0bb9f7e5b835ddd696af75a35189cd8cc94a0fffb85c3804e309177a068e65049c3ae7245353ee05e87c0e1eb1b5b30eb108b1bed4c173cceed0127acb
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 .. timebucket, request_id)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wafris
4
- VERSION = "0.8.3"
4
+ VERSION = "0.8.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wafris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micahel Buckbee