Created
October 11, 2022 05:01
-
-
Save bhatti/aecad1b61173d2e176a280faca5cc860 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let mutex_repo = factory::build_mutex_repository( | |
| RepositoryProvider::Ddb, &config).await.expect("failed to build mutex repository"); | |
| let semaphore_repo = factory::build_semaphore_repository( | |
| RepositoryProvider::Ddb, &config).await.expect("failed to build semaphore repository"); | |
| let store = Box::new(DefaultLockStore::new(&config, mutex_repo, semaphore_repo)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment