mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-19 01:45:48 +08:00
feat(core): Introduce feature flag for workflow publication (no-changelog) (#24921)
This commit is contained in:
@@ -19,7 +19,15 @@ export class WorkflowsConfig {
|
||||
@Env('N8N_WORKFLOW_ACTIVATION_BATCH_SIZE')
|
||||
activationBatchSize: number = 1;
|
||||
|
||||
/** Whether to enable workflow dependency indexing */
|
||||
/** Whether to enable workflow dependency indexing.
|
||||
* NOTE: this feature is still under development.
|
||||
*/
|
||||
@Env('N8N_WORKFLOWS_INDEXING_ENABLED')
|
||||
indexingEnabled: boolean = false;
|
||||
|
||||
/** Whether to use workflow publication service.
|
||||
* NOTE: this feature is still under development.
|
||||
*/
|
||||
@Env('N8N_USE_WORKFLOW_PUBLICATION_SERVICE')
|
||||
useWorkflowPublicationService: boolean = false;
|
||||
}
|
||||
|
||||
@@ -186,6 +186,7 @@ describe('GlobalConfig', () => {
|
||||
callerPolicyDefaultOption: 'workflowsFromSameOwner',
|
||||
activationBatchSize: 1,
|
||||
indexingEnabled: false,
|
||||
useWorkflowPublicationService: false,
|
||||
},
|
||||
endpoints: {
|
||||
metrics: {
|
||||
|
||||
Reference in New Issue
Block a user