Open inopassdev opened 5 days ago
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
Since currently there's no cache inside TeamsFx SDK, it's expected the two sets of remote calls taking time.
BlobStore
TeamsInfo.getPagedMembers
For now one workaround is to add logic to your BlobStore.add
, e.g.,
new TeamsBotInstallation(adapter, reference, botAppId)
Describe the bug
On the TeamsFX - TypeScript, the findMember method has become very slow since I have more than 600 persisted conversations in my storage. When I first put my Teams Bot into production, sending proactive notifications to a Teams user took about 7 seconds (With less conversations stored ~10), now it's 15 minutes.
To Reproduce Steps to reproduce the behavior:
More details The bot only send notifications to my users. To find the right user, I use the findMember method available on BotBuilderCloudAdapter.ConversationBot class. The condition used for matching is member.account.email === email. 1:1 conversations are stored in an Azure blob storage compatible bucket.
VS Code Extension Information (please complete the following information):