Configuration file measurement units
ms | milliseconds 毫秒 |
s | seconds 秒 |
m | minutes 分钟 |
h | hours 小时 |
d | days 天 |
w | weeks 周 |
M | months, 30 days 月(30天) |
y | years, 365 days 年(365天) |
Multiple units can be combined in a single value
by specifying them in the order from the most to the least significant,
and optionally separated by whitespace.
For example, “1h 30m
” specifies the same time
as “90m
” or “5400s
”.
A value without a suffix means seconds.
It is recommended to always specify a suffix.
多个单位可以合并为一个值,方法是按照从右到左,从小到大的顺序,并用空格分隔。例如,"1h 30m
"与"90m
"或"5400s
"表示相同的时间。值后没有没有单位,默认为秒。建议指定一个明确的单位。
Some of the time intervals can be specified only with a seconds resolution.
某些时间间隔只能精确到秒