Skip to content

Commit

Permalink
feat(release): update 1f9841f
Browse files Browse the repository at this point in the history
  • Loading branch information
fedellen committed May 21, 2024
1 parent a0b3ad6 commit b779d90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ services:
DATA_ITEM_BUCKET_REGION: ${DATA_ITEM_BUCKET_REGION:-us-east-1}
S3_FORCE_PATH_STYLE: ${S3_FORCE_PATH_STYLE:-}
AWS_REGION: ${AWS_REGION:-us-east-1}
OVERDUE_DATA_ITEM_THRESHOLD_MS: ${OVERDUE_DATA_ITEM_THRESHOLD_MS:-0} # plan data items immediately into bundles when plan-bundle runs

depends_on:
localstack:
Expand Down
4 changes: 3 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ export const batchingSize = 100;
export const payloadDataStartS3MetaDataTag = "payload-data-start";
export const payloadContentTypeS3MetaDataTag = "payload-content-type";

export const defaultOverdueThresholdMs = 5 * 60 * 1000; // 5 minutes
export const defaultOverdueThresholdMs = +(
(process.env.OVERDUE_DATA_ITEM_THRESHOLD_MS ?? 5 * 60 * 1000) // 5 minutes
);

export const blocklistedAddresses =
process.env.BLOCKLISTED_ADDRESSES?.split(",") ?? [];
Expand Down

0 comments on commit b779d90

Please sign in to comment.