Skip to content
  • Alex Tjaarda's avatar
    2951823e
    Fix: Correct time-based delay calculation in metric test loop · 2951823e
    Alex Tjaarda authored
    - Replaced incorrect float-based timing logic with proper use of Go's time package.
    - Previously, delay was calculated using math.Pow() on raw float values, causing unintended near-zero delays.
    - Now uses time.Duration arithmetic with jitter and random factor to generate appropriate sleep intervals.
    - Also fixed logging statement with incorrect parameter count.
    2951823e
    Fix: Correct time-based delay calculation in metric test loop
    Alex Tjaarda authored
    - Replaced incorrect float-based timing logic with proper use of Go's time package.
    - Previously, delay was calculated using math.Pow() on raw float values, causing unintended near-zero delays.
    - Now uses time.Duration arithmetic with jitter and random factor to generate appropriate sleep intervals.
    - Also fixed logging statement with incorrect parameter count.
Loading