From 91784cd20cc218568adb45c7903902ca75ff531a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Dec 2025 22:54:55 +0000 Subject: feat: make asset preprocessing worker timeout configurable - Added ASSET_PREPROCESSING_JOB_TIMEOUT_SEC environment variable with default of 60 seconds (increased from hardcoded 30 seconds) - Updated worker to use the configurable timeout from serverConfig - Added documentation for the new configuration option --- apps/workers/workers/assetPreprocessingWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/workers') diff --git a/apps/workers/workers/assetPreprocessingWorker.ts b/apps/workers/workers/assetPreprocessingWorker.ts index ff16906d..b585a15e 100644 --- a/apps/workers/workers/assetPreprocessingWorker.ts +++ b/apps/workers/workers/assetPreprocessingWorker.ts @@ -62,7 +62,7 @@ export class AssetPreprocessingWorker { { concurrency: serverConfig.assetPreprocessing.numWorkers, pollIntervalMs: 1000, - timeoutSecs: 30, + timeoutSecs: serverConfig.assetPreprocessing.jobTimeoutSec, }, ); -- cgit v1.2.3-70-g09d2