Skip to content

Commit

Permalink
chore: disable log event compression (#498)
Browse files Browse the repository at this point in the history
reports that this does not work in vercel
  • Loading branch information
tore-statsig authored Sep 13, 2024
1 parent 8aa5b66 commit b5394f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LogEventProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class LogEventProcessor {
retries: fireAndForget ? 0 : this.explicitOptions.postLogsRetryLimit,
backoff: this.explicitOptions.postLogsRetryBackoff,
signal: abortSignal,
compress: SDKFlags.on('stop_log_event_compression') === false,
compress: false,
additionalHeaders: {
'STATSIG-EVENT-COUNT': String(oldQueue.length),
},
Expand Down

0 comments on commit b5394f9

Please sign in to comment.