Skip to content

Commit c3b76b3

Browse files
committed
feat(NODE-6695): enable KMS retry protocol
1 parent faea384 commit c3b76b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: addon/mongocrypt.cc

+2
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,8 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info) : ObjectWrap(info) {
575575

576576
mongocrypt_setopt_use_need_kms_credentials_state(mongo_crypt());
577577

578+
mongocrypt_setopt_retry_kms(mongo_crypt(), true);
579+
578580
// Initialize after all options are set.
579581
if (!mongocrypt_init(mongo_crypt())) {
580582
throw TypeError::New(Env(), errorStringFromStatus(mongo_crypt()));

0 commit comments

Comments
 (0)