-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into pay-1659-connect-up…
…-new-project-viewer-role-to-the-fe # Conflicts: # packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue
- Loading branch information
Showing
107 changed files
with
1,539 additions
and
919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Config, Env, Nested } from '../decorators'; | ||
|
||
@Config | ||
class LogWriterConfig { | ||
/** Number of event log files to keep */ | ||
@Env('N8N_EVENTBUS_LOGWRITER_KEEPLOGCOUNT') | ||
readonly keepLogCount: number = 3; | ||
|
||
/** Max size (in KB) of an event log file before a new one is started */ | ||
@Env('N8N_EVENTBUS_LOGWRITER_MAXFILESIZEINKB') | ||
readonly maxFileSizeInKB: number = 10240; // 10 MB | ||
|
||
/** Basename of event log file */ | ||
@Env('N8N_EVENTBUS_LOGWRITER_LOGBASENAME') | ||
readonly logBaseName: string = 'n8nEventLog'; | ||
} | ||
|
||
@Config | ||
export class EventBusConfig { | ||
/** How often (in ms) to check for unsent event messages. Can in rare cases cause a message to be sent twice. `0` to disable */ | ||
@Env('N8N_EVENTBUS_CHECKUNSENTINTERVAL') | ||
readonly checkUnsentInterval: number = 0; | ||
|
||
/** Endpoint to retrieve n8n version information from */ | ||
@Nested | ||
readonly logWriter: LogWriterConfig; | ||
|
||
/** Whether to recover execution details after a crash or only mark status executions as crashed. */ | ||
@Env('N8N_EVENTBUS_RECOVERY_MODE') | ||
readonly crashRecoveryMode: 'simple' | 'extensive' = 'extensive'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Config, Env } from '../decorators'; | ||
|
||
@Config | ||
export class TemplatesConfig { | ||
/** Whether to load workflow templates. */ | ||
@Env('N8N_TEMPLATES_ENABLED') | ||
readonly enabled: boolean = true; | ||
|
||
/** Host to retrieve workflow templates from endpoints. */ | ||
@Env('N8N_TEMPLATES_HOST') | ||
readonly host: string = 'https://api.n8n.io/api/'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.