From 6d2c936955df98edc940f1224d85fdac3aa64ebe Mon Sep 17 00:00:00 2001 From: conorbros Date: Thu, 23 Nov 2023 19:26:34 +1100 Subject: [PATCH] remove todo --- shotover/src/transforms/protect/key_management.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/shotover/src/transforms/protect/key_management.rs b/shotover/src/transforms/protect/key_management.rs index fff5c7503..af5e48c4c 100644 --- a/shotover/src/transforms/protect/key_management.rs +++ b/shotover/src/transforms/protect/key_management.rs @@ -62,9 +62,6 @@ impl KeyManagerConfig { grant_tokens, endpoint, } => Ok(KeyManager::AWSKms(AWSKeyManagement { - // TODO: This client is being recreated for each connection. - // but doing so is quite expensive so we should share it between all connections - // fortunately doing so is quite easy since all methods are `&self` client: KmsClient::new(&config(region, endpoint).await), cmk_id, encryption_context,