mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
chore(temporal): Use a single Temporal worker and task queue for local development (#40684)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -3,9 +3,10 @@ import fs from 'fs/promises'
|
||||
import { Counter } from 'prom-client'
|
||||
|
||||
import { Hub } from '../../types'
|
||||
import { isDevEnv } from '../../utils/env-utils'
|
||||
import { logger } from '../../utils/logger'
|
||||
|
||||
const EVALUATION_TASK_QUEUE = 'general-purpose-task-queue'
|
||||
const EVALUATION_TASK_QUEUE = isDevEnv() ? 'development-task-queue' : 'general-purpose-task-queue'
|
||||
|
||||
const temporalWorkflowsStarted = new Counter({
|
||||
name: 'evaluation_run_workflows_started',
|
||||
|
||||
Reference in New Issue
Block a user