script/fill in repsheet_visualizer-0.2.3 vs script/fill in repsheet_visualizer-1.0.0
- old
+ new
@@ -10,10 +10,11 @@
r.lpush("1.1.1.#{i}:requests", "123, Chrome, GET, foo, bar")
r.set("1.1.1.#{i}:repsheet", true)
if i > 220
r.set("1.1.1.#{i}:repsheet:blacklist", "true")
+ r.sadd("repsheet:blacklist:history", "1.1.1.#{i}")
end
r.expire("1.1.1.#{i}:requests", (24 * 60 * 60))
r.expire("1.1.1.#{i}:detected", (24 * 60 * 60))
end
@@ -36,5 +37,6 @@
r.set("5.5.5.5:repsheet:whitelist", "true")
r.set("5.5.5.6:repsheet:whitelist", "true")
r.set("5.5.5.7:repsheet:whitelist", "true")
r.set("5.5.5.8:repsheet:whitelist", "true")
+