Skip to content

Commit

Permalink
use gzip compression for decide
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Aug 13, 2024
1 parent 3e4eb29 commit 5247cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class Decide {
method: 'POST',
url: this.instance.requestRouter.endpointFor('api', '/decide/?v=3'),
data,
compression: this.instance.config.disable_compression ? undefined : Compression.Base64,
compression: this.instance.config.disable_compression ? undefined : Compression.GZipJS,
timeout: this.instance.config.feature_flag_request_timeout_ms,
callback: (response) => this.parseDecideResponse(response.json as DecideResponse | undefined),
})
Expand Down

0 comments on commit 5247cb9

Please sign in to comment.