Skip to content

@persistent-ai/fireflow-executor / server / config

Variable: config ​

const config: object

Defined in: packages/fireflow-executor/server/utils/config.ts:18

Type Declaration ​

authConfig ​

authConfig: AuthConfig

database ​

database: object

database.url_executions ​

url_executions: string

database.url_main ​

url_main: string

dbos ​

dbos: object

dbos.adminServer ​

adminServer: object

DBOS Admin Server Configuration The admin server provides a management interface for DBOS workflows Set port to null/undefined to disable the admin server

dbos.adminServer.enabled ​

enabled: boolean

dbos.adminServer.port ​

port: number

dbos.applicationName ​

applicationName: string

Application Name for DBOS client identification Used in logging and monitoring on the DBOS server side

dbos.applicationVersion ​

applicationVersion: string = DBOS_APPLICATION_VERSION

Application version for DBOS workflows HARDCODED to ensure API and Worker use the same version. DO NOT use env vars - they can drift between deployments.

dbos.conductorKey ​

conductorKey: string | undefined

DBOS Conductor Key for authenticating with DBOS server If not set, assumes DBOS is running in "embedded" mode within this process In production, it's recommended to run a separate DBOS server and set this key

dbos.conductorURL ​

conductorURL: string | undefined

DBOS Conductor URL for connecting to a remote DBOS server If not set, assumes DBOS is running in "embedded" mode within this process In production, it's recommended to run a separate DBOS server and set this URL

dbos.enabled ​

enabled: boolean

Enable DBOS-based execution (recommended for production) When enabled, uses DBOS Durable Queues and workflows for execution When disabled, falls back to local in-memory mode (development only)

dbos.queueConcurrency ​

queueConcurrency: number

Global concurrency limit across all workers Maximum number of executions running simultaneously across the entire cluster

dbos.systemDatabasePoolSize ​

systemDatabasePoolSize: number

Connection pool size for the DBOS system database

dbos.systemDatabaseUrl ​

systemDatabaseUrl: string

Database URL for DBOS system tables Defaults to the main executions database

dbos.workerConcurrency ​

workerConcurrency: number

Per-worker concurrency limit Maximum number of executions running simultaneously on a single worker process Should be lower than global concurrency to allow load distribution

logging ​

logging: object

logging.level ​

level: string

logging.pretty ​

pretty: boolean

metrics ​

metrics: object

metrics.batchSize ​

batchSize: number

metrics.enabled ​

enabled: boolean

metrics.flushInterval ​

flushInterval: number

metrics.includeMemoryMetrics ​

includeMemoryMetrics: boolean

metrics.logLevel ​

logLevel: "debug" | "info" | "warn"

metrics.sampling ​

sampling: { enabled: boolean; rate: number; } | undefined

miniapp ​

miniapp: object

miniapp.backendUrl ​

backendUrl: string

Backend URL for OAuth redirects (the Authorization Server)

miniapp.defaultRenderTimeout ​

defaultRenderTimeout: number

miniapp.enabled ​

enabled: boolean

miniapp.jwtExpiry ​

jwtExpiry: string

miniapp.jwtSecret ​

jwtSecret: string

mode ​

mode: ExecutionMode

recovery ​

recovery: object

recovery.enabled ​

enabled: boolean

recovery.maxFailureCount ​

maxFailureCount: number

recovery.scanIntervalMs ​

scanIntervalMs: number

ssl ​

ssl: object

ssl.certPath ​

certPath: string

ssl.enabled ​

enabled: boolean

ssl.keyPath ​

keyPath: string

worker ​

worker: object

worker.claimExpirationCheckIntervalMs ​

claimExpirationCheckIntervalMs: number

worker.claimTimeoutMs ​

claimTimeoutMs: number

worker.concurrency ​

concurrency: number

worker.heartbeatIntervalMs ​

heartbeatIntervalMs: number

worker.id ​

id: string

Licensed under BUSL-1.1