-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Problem] The Discord bot function is still a bit slow at times, resulting in timeouts on Discord. [Solution] Resolve both the Discord verification and the Commands Lambda call at the same time when needed. This saves approximately 500ms since they can be done in parallel. [Testing] Deployed and manually verified that this properly resolves the issues.
- Loading branch information
Showing
3 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './types'; | ||
export * from './functions/utils/DiscordSecrets'; | ||
export * from './constructs/DiscordBotConstruct'; | ||
export { verifyEvent } from './functions/DiscordBotFunction'; |
e2aa772
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! I was suggesting increasing the RAM or making it configurable :)