Skip to content
Fix sampling rate to 250ms if the requested rate is -1.

Some clients request a sampling rate of -1. Before we set the sampling
rate to the publishing interval in that case. We observed that this can
cause problems for long publishing intervals, because the sampling is
done directly after publishing the last value. This means the sampled
value is not updated until the next publishing.