mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-03-21 18:04:11 -05:00
Initializing the server accounts in their own thread (e.g. the authentication and secure servers) can cause a race condition where the secure account hasn't been set up yet when authentication configures `ticket-granting`, causing sometimes crashes on startup. This has happened on production causing unnecesary restarts. To fix this, initialize the accounts on the `init` function to ensure they will always be accessible when needed. |
||
|---|---|---|
| .. | ||
| account-management | ||
| friends-3ds | ||
| friends-wiiu | ||
| secure-connection | ||
| authentication.go | ||
| register_common_authentication_server_protocols.go | ||
| register_common_secure_server_protocols.go | ||
| register_secure_server_protocols.go | ||
| secure.go | ||