Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add silence period a.k.a. debounce #101

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pavel-kolesnikov
Copy link

@pavel-kolesnikov pavel-kolesnikov commented May 5, 2021

This will add a per-block defined silence period (widely known as debounce).
Hopefully will suffice to close #86 (also close #55).

Default behavior: no pause.

Example:

** {
  silence: 1s
  prep: echo "no more then once a second"
}

Will produce some backoff log like this
image

Also I used Note log level, but had no idea how to make the message from debouncer to be not visible by default. Help hre appreciated.

@pavel-kolesnikov pavel-kolesnikov changed the title WIP: add silence period a.k.a. debounce add silence period a.k.a. debounce May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant