logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)

Author

Description

Name

         Swatchdog::Throttle - Perl extension for throttling and thresholding in swatchdog(1)

See Also

perl(1), swatchdog(1).

perl v5.36.0                                       2023-01-20                           Swatchdog::Throttle(3pm)

Swatch Syntax

         throttle threshold=<n>,\
                  delay=<hours>:<minutes>:<seconds>,\
                  key=log|regex|<regex>

Synopsis

         use Swatchdog::Throttle;

         throttle(
                  extra_cuts => @array_of_regular_expressions,
                  hold_dhms => @DHMS,
                  key => 'log'|<regex>|<user defined>,
                  log_msg => <message>,
                  threshold => <n>,
                  time_from => 'realtime'|'timestamp',
                  time_regex => <regex>,
                 );

See Also