Skip to content

Commit

Permalink
chore(p-s): remove unused piscina envvars (#21542)
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello authored Apr 15, 2024
1 parent cfb9519 commit ddbb0df
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
2 changes: 0 additions & 2 deletions plugin-server/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ export function getDefaultConfig(): PluginsServerConfig {
JOB_QUEUE_S3_PREFIX: '',
CRASH_IF_NO_PERSISTENT_JOB_QUEUE: false,
HEALTHCHECK_MAX_STALE_SECONDS: 2 * 60 * 60, // 2 hours
PISCINA_USE_ATOMICS: true,
PISCINA_ATOMICS_TIMEOUT: 5000,
SITE_URL: null,
KAFKA_PARTITIONS_CONSUMED_CONCURRENTLY: 1,
CLICKHOUSE_DISABLE_EXTERNAL_SCHEMAS_TEAMS: '',
Expand Down
2 changes: 0 additions & 2 deletions plugin-server/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ export interface PluginsServerConfig {
JOB_QUEUE_S3_PREFIX: string // S3 filename prefix for the S3 job queue
CRASH_IF_NO_PERSISTENT_JOB_QUEUE: boolean // refuse to start unless there is a properly configured persistent job queue (e.g. graphile)
HEALTHCHECK_MAX_STALE_SECONDS: number // maximum number of seconds the plugin server can go without ingesting events before the healthcheck fails
PISCINA_USE_ATOMICS: boolean // corresponds to the piscina useAtomics config option (https://github.com/piscinajs/piscina#constructor-new-piscinaoptions)
PISCINA_ATOMICS_TIMEOUT: number // (advanced) corresponds to the length of time a piscina worker should block for when looking for tasks
SITE_URL: string | null
KAFKA_PARTITIONS_CONSUMED_CONCURRENTLY: number // (advanced) how many kafka partitions the plugin server should consume from concurrently
CONVERSION_BUFFER_ENABLED: boolean
Expand Down
43 changes: 0 additions & 43 deletions plugin-server/src/worker/config.ts

This file was deleted.

0 comments on commit ddbb0df

Please sign in to comment.