Skip to content

Commit

Permalink
fix: log file key being logged with proper name and timeout doubled (#61
Browse files Browse the repository at this point in the history
)
  • Loading branch information
aleortega authored Feb 28, 2024
1 parent cfa5a33 commit 0069200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consumer-server/src/logic/conversion-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export async function executeConversion(components: Pick<AppComponents, 'logs' |
const s3LogKey = `logs/${$AB_VERSION}/${entityId}/${new Date().toISOString()}.txt`
const outDirectory = `/tmp/asset_bundles_contents/entity_${entityId}`

const defaultLoggerMetadata = { entityId, contentServerUrl, version: $AB_VERSION, logFile }
const defaultLoggerMetadata = { entityId, contentServerUrl, version: $AB_VERSION, logFile: s3LogKey }

logger.info("Starting conversion for " + $BUILD_TARGET, defaultLoggerMetadata)

Expand All @@ -118,7 +118,7 @@ export async function executeConversion(components: Pick<AppComponents, 'logs' |
outDirectory,
projectPath: $PROJECT_PATH,
unityPath: $UNITY_PATH,
timeout: 60 * 60 * 1000, // 60min,
timeout: 120 * 60 * 1000, // 120min temporarily doubled
unityBuildTarget: unityBuildTarget,
})

Expand Down

0 comments on commit 0069200

Please sign in to comment.