Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Reduce seen cooldown from 10 minutes to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jun 27, 2018
1 parent 881de87 commit 1797247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SB/Seener.pm6
@@ -1,7 +1,7 @@
use OO::Monitors;
unit monitor SB::Seener;

my $RECENT_EXPIRY = %*ENV<SB_DEBUG> ?? 10 !! 10*60;
my $RECENT_EXPIRY = %*ENV<SB_DEBUG> ?? 10 !! 2*60;

has Bool:D %!seen;
method unsee ($what) { %!seen{$what}:delete }
Expand Down

0 comments on commit 1797247

Please sign in to comment.