Skip to content

Commit

Permalink
Merge branch 'main' into feature/q-slack-chat-stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-Dipasupil authored Aug 29, 2024
2 parents 8cc9b74 + 98d6f63 commit d19815a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jq -n \
OIDCIdPName: $oidc_idp_name,
OIDCClientId: $oidc_client_id,
OIDCIssuerURL: $oidc_issuer_url,
GatewayIdCAppARN: $gateway_idc_app_arn
GatewayIdCAppARN: $gateway_idc_app_arn,
ChatStreamBufferSize: $chatstream_buffer_size
}' > "$json_file"

Expand Down
2 changes: 1 addition & 1 deletion src/functions/slack-stream-event-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export const handler = async (
}

let buffer = '';
const bufferSize = 50;
const bufferSize = Number(slackEventsEnv.CHATSTREAM_BUFFER_SIZE)
let failedAttachmentEvents: FailedAttachmentEvent[] = [];
let latestMetadataEvent: MetadataEvent = {}

Expand Down

0 comments on commit d19815a

Please sign in to comment.