Skip to content

distribution of probes within time period in worker.go #14

@LukeSiX

Description

@LukeSiX

The delay between probes to an individual target is calculated here:

fmt.Sprintf("%.0f", w.spec.period.Seconds()*500/float64(w.spec.count))

Based on 60 seconds it will set the delay to 1500 ms and with 20 probes, that will be 30 seconds. Tcpdump shows that it starts pinging (after initial delay) in the first 30seconds.

Is there any intention why "500" is used as metric (1000 for ms would be correct), so only the first 30 seconds are used for probing?

I'm trying to find a solution for a continuous probing, so all 20 probes are send within the 60 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions