-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the Oauth token expiring issue (#2)
* Fixed the Oauth token expiring issue Added the logic for refreshing the token manually when there's only a minute left till expiration Added a mutex lock for the code of fetching the token from database to handle concurrency issues * Removed some useless code and fixed a comment * Review fixes * Update server/plugin.go Co-authored-by: shivamjosh <85667960+shivamjosh@users.noreply.github.com> Co-authored-by: shivamjosh <85667960+shivamjosh@users.noreply.github.com>
- Loading branch information
1 parent
5f463d2
commit 41df0ae
Showing
1 changed file
with
37 additions
and
0 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