Skip to content

Dividing --sleep (ms) by 1000 to get sec value#94

Open
Chocolatbuddha wants to merge 1 commit into
nils-ohlmeier:mainfrom
Chocolatbuddha:fix_sleep_ms_sec_conversion
Open

Dividing --sleep (ms) by 1000 to get sec value#94
Chocolatbuddha wants to merge 1 commit into
nils-ohlmeier:mainfrom
Chocolatbuddha:fix_sleep_ms_sec_conversion

Conversation

@Chocolatbuddha

Copy link
Copy Markdown

The value of the -o/--sleep param (in milliseconds) was copied without changes to the variable holding the seconds in the struct.
The correct conversion was present in 0.9.6 but was lost somewhere between 0.9.6 and 0.9.8.
The fix adds the division by 1000 again to get the seconds from the milliseconds.

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

Successfully merging this pull request may close these issues.

1 participant