Skip to content

Support human-readable refresh_interval values #563

Description

@dreikanter

Format:

(\d+)(?=s|m|h|d|w|mo|y)

Missing time unit means \1 is the amount of minutes.

Time units:

  1. s - seconds
    • Example: 5s for 5 seconds
  2. m - minutes
    • Example: 3m for 3 minutes
  3. h - hours
    • Example: 2h for 2 hours
  4. d - days
    • Example: 1d for 25 hours and 7 minutes (approximated to 1 day)
  5. w - weeks
    • Example: 1w for 7.5 days (approximated to 1 week)
  6. mo - months
    • Example: 1mo for 13 months and 2 days (approximated to 1 month)
  7. y - years
    • Example: 2y for 25 months (approximated to 2 years)

Default refresh_interval: 0 (refresh on every update).

Referense:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions