mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
fix: eliminate more gateway bottlenecks
This commit is contained in:
5 files changed
+262
-23
No files matched your search
@@ -288,7 +288,7 @@ maybe_spawn_guild_connect(GuildId, Attempt, SessionId, UserId, State) ->
|
||||
do_guild_connect(SessionPid, GuildId, Attempt, SessionId, UserId, Bot, InitialGuildId, UserData) ->
|
||||
Result =
|
||||
try
|
||||
case gen_server:call(guild_manager, {start_or_lookup, GuildId}, 5000) of
|
||||
case guild_manager:start_or_lookup(GuildId) of
|
||||
{ok, GuildPid} ->
|
||||
case maybe_build_unavailable_response_from_cache(GuildId, UserData) of
|
||||
{ok, UnavailableResponse} ->
|
||||
|
||||
Reference in new issue
Block a user