Skip to content

Commit

Permalink
Reduce logging in dev/test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Feb 12, 2024
1 parent 9faa4c7 commit ae42bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/.pipeline/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const phases = {
s3KeyPrefix: (isStaticDeployment && 'biohub') || `local/${deployChangeId}/biohub`,
tz: config.timezone.api,
sso: config.sso.dev,
logLevel: 'debug',
logLevel: (isStaticDeployment && 'info') || 'debug',
nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes)
cpuRequest: '50m',
cpuLimit: '500m',
Expand Down Expand Up @@ -145,7 +145,7 @@ const phases = {
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
sso: config.sso.prod,
logLevel: 'info',
logLevel: 'warn',
nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes)
cpuRequest: '50m',
cpuLimit: '1000m',
Expand Down

0 comments on commit ae42bbb

Please sign in to comment.