-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Simplify server address handling in Core class
Removed unnecessary variable duplication and asynchronous token retrieval in the Core class. The server address is now directly used in condition checks and channel creation, eliminating the need for an extra variable. Also, the pre-shared key is used directly as a token instead of being retrieved asynchronously. This simplifies the code and potentially improves performance by reducing async overhead. Additionally, updated SpiceDb version from 1.4.8 to 1.4.9 in project file to reflect these changes.
- Loading branch information
Showing
2 changed files
with
10 additions
and
17 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