We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faea384 commit c3b76b3Copy full SHA for c3b76b3
addon/mongocrypt.cc
@@ -575,6 +575,8 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info) : ObjectWrap(info) {
575
576
mongocrypt_setopt_use_need_kms_credentials_state(mongo_crypt());
577
578
+ mongocrypt_setopt_retry_kms(mongo_crypt(), true);
579
+
580
// Initialize after all options are set.
581
if (!mongocrypt_init(mongo_crypt())) {
582
throw TypeError::New(Env(), errorStringFromStatus(mongo_crypt()));
0 commit comments