Use the async dynamo client to batch uak updates

This commit is contained in:
Ravi Khadiwala
2022-03-09 23:28:55 -06:00
committed by ravi-signal
parent de68c251f8
commit 5a88ff0811
9 changed files with 190 additions and 73 deletions

View File

@@ -339,7 +339,9 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
config.getAppConfig().getConfigurationName(),
DynamicConfiguration.class);
Accounts accounts = new Accounts(dynamicConfigurationManager, dynamoDbClient,
Accounts accounts = new Accounts(dynamicConfigurationManager,
dynamoDbClient,
dynamoDbAsyncClient,
config.getDynamoDbTables().getAccounts().getTableName(),
config.getDynamoDbTables().getAccounts().getPhoneNumberTableName(),
config.getDynamoDbTables().getAccounts().getPhoneNumberIdentifierTableName(),