module/mem: cleanup poll-interval

* man page: spell out ‘milliseconds’
* use a ‘static const’ variable for min_poll_interval, instead of a
  macro
This commit is contained in:
Daniel Eklöf 2022-12-22 11:47:15 +01:00
parent a18296a179
commit ac8e45c331
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 10 additions and 8 deletions

View file

@ -33,8 +33,8 @@ mem - This module provides the memory usage
| poll-interval
: string
: no
: Refresh interval of the memory usage stats in ms
(default=500). Cannot be less then 500 ms.
: Refresh interval of the memory usage stats in milliseconds
(default=500). Cannot be less then 500ms.
# EXAMPLES