mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
perf(guild): fetch guild members a thousand at a time (#2201)
This commit is contained in:
1 parent
0d4c65ad79
commit
e993a47720
3 files changed
+104
-2
No files matched your search
@@ -11,7 +11,7 @@
|
||||
-type fetch_result() :: {ok, map()} | {error, term()}.
|
||||
|
||||
-define(GUILD_COLLECTION_FETCH_TIMEOUT_MS, 120000).
|
||||
-define(GUILD_MEMBER_COLLECTION_LIMIT, 250).
|
||||
-define(GUILD_MEMBER_COLLECTION_LIMIT, 1000).
|
||||
-define(GUILD_COLLECTIONS, [
|
||||
<<"guild">>,
|
||||
<<"roles">>,
|
||||
|
||||
Reference in new issue
Block a user