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

Delay between probes #6

Open
anton-dutov opened this issue Oct 18, 2018 · 1 comment
Open

Delay between probes #6

anton-dutov opened this issue Oct 18, 2018 · 1 comment

Comments

@anton-dutov
Copy link

Any option to configure dalay between probes, like ping command

@anton-dutov anton-dutov changed the title Probe delay Delay between probes Oct 18, 2018
@jcgruenhage
Copy link

jcgruenhage commented Apr 7, 2020

I don't think it's necessary to implement that in this library directly, because doing it outside of it is quite easy too, using the interval stream provided by tokio directly. You can take a look at an example implementation over at https://git.jcg.re/jcgruenhage/peshming/src/commit/44251fa2f78bda24997952f267c1616a9affb3cc/src/ping.rs#L59-L67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants