mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
core.moduleapi: Add :get_option_period for parsing time intervals
E.g. for use in mod_mam and others that take an amount of time before some (usually cleanup) action is taken.
This commit is contained in:
parent
924064a30a
commit
3c4dc9a754
4 changed files with 18 additions and 0 deletions
1
CHANGES
1
CHANGES
|
@ -42,6 +42,7 @@ TRUNK
|
|||
|
||||
- Config interface API can require that string values be picked from a provided set
|
||||
- Acceptable interval can be specified for number options
|
||||
- Method for parsing time periods / intervals from config
|
||||
|
||||
## Changes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue