Interface CurrentConditionsTaskSettings

The settings for the current conditions task. This is related to the api/v1/current route. Call Recorder.configureCurrentConditionsTask to configure. If your recorder is already running you have to restart it using restart().

Hierarchy

  • CurrentConditionsTaskSettings

Properties

interval: number

The update interval as integer (in seconds) for the current conditions. Default value is 1 (which is the minimum). Corresponding environment variable: CURRENT_CONDITIONS_INTERVAL

useEnvironmentVariables: boolean

Whether to prefer environment variables configured in the .env file. Default is false.

Generated using TypeDoc