feat(core): Add internal mode for native Python runner (no-changelog) (#19288)

This commit is contained in:
Iván Ovejero
2025-09-09 12:33:25 +02:00
committed by GitHub
parent 99293ea400
commit 04889864a0
14 changed files with 363 additions and 238 deletions

View File

@@ -16,6 +16,8 @@ export const LOG_SCOPES = [
'scaling',
'waiting-executions',
'task-runner',
'task-runner-js',
'task-runner-py',
'insights',
'workflow-activation',
'ssh-client',
@@ -112,7 +114,8 @@ export class LoggingConfig {
* - `redis`
* - `scaling`
* - `waiting-executions`
* - `task-runner`
* - `task-runner-js`
* - `task-runner-py`
* - `workflow-activation`
* - `insights`
*

View File

@@ -19,7 +19,7 @@ RUNNER_NAME = "Python Task Runner"
DEFAULT_MAX_CONCURRENCY = 5 # tasks
DEFAULT_MAX_PAYLOAD_SIZE = 1024 * 1024 * 1024 # 1 GiB
DEFAULT_TASK_TIMEOUT = 60 # seconds
DEFAULT_AUTO_SHUTDOWN_TIMEOUT = 15 # seconds
DEFAULT_AUTO_SHUTDOWN_TIMEOUT = 0 # seconds
DEFAULT_SHUTDOWN_TIMEOUT = 10 # seconds
OFFER_INTERVAL = 0.25 # 250ms
OFFER_VALIDITY = 5000 # ms