This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 5109ec37 Drop duplicate events warning
5109ec37 is described below
commit 5109ec37151989b8194154e13c7a87db59464601
Author: Sebb <[email protected]>
AuthorDate: Tue Dec 19 00:29:35 2023 +0000
Drop duplicate events warning
---
www/status/monitors/site_scan.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/status/monitors/site_scan.rb b/www/status/monitors/site_scan.rb
index e9dc7eae..4fcca158 100644
--- a/www/status/monitors/site_scan.rb
+++ b/www/status/monitors/site_scan.rb
@@ -22,7 +22,7 @@ def Monitor.site_scan(previous_status)
# Drop standard cache info
log.gsub! /^([-\w]+ )*https?:\S+ \w+\n/, ''
# Drop other info (must agree with scanner script)
- log.gsub! %r{^(Started|Ended):.+\n}, ''
+ log.gsub! %r{^(Started|Ended|Events):.+\n}, '' # drop 'Events: already have'
danger_period = 86_400 # one day