Skip to content

Datetime Cache #3

@splitice

Description

@splitice

Why is stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3545, ...}) = 0 performed multiple time per message?

Introduce a date-time system where a cached date time is updated once per xxx ns.

Global configuration options:

  • time_cache: 100ns (request a time update every 100ns, use time cache)
  • time_cache: 0 (do not use a time cache, every call for time results in an underlying request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions