n8n/scripts/backend-module/my-feature.config.template

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
220 B
Text
Raw Normal View History

import { Config, Env } from '@n8n/config';
@Config
export class MyFeatureConfig {
/**
* How often in minutes to run some task.
* @default 30
*/
@Env('N8N_MY_FEATURE_TASK_INTERVAL')
taskInterval: number = 30;
}