Skip to content

Commit

Permalink
Default IMAGE_STORAGE_DEBUG_REQUEST_ERRORS to false on unauthenticate…
Browse files Browse the repository at this point in the history
…d setups

Resolves: #1433
Resolves: #1696
Change-type: patch
  • Loading branch information
thgreasi committed Nov 8, 2024
1 parent 58cfbbc commit c58cb7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ export const IMAGE_STORAGE_FORCE_PATH_STYLE = boolVar(
);
export const IMAGE_STORAGE_DEBUG_REQUEST_ERRORS = boolVar(
'IMAGE_STORAGE_DEBUG_REQUEST_ERRORS',
true,
// Default to false for unauthenticated setups, so that we reduce
// the number of expected unauthorized request errors that get logged.
IMAGE_STORAGE_ACCESS_KEY != null || IMAGE_STORAGE_SECRET_KEY != null,
);
export const JSON_WEB_TOKEN_EXPIRY_MINUTES = intVar(
'JSON_WEB_TOKEN_EXPIRY_MINUTES',
Expand Down

0 comments on commit c58cb7f

Please sign in to comment.