Use limit 1 in the first channel difference request.
This commit is contained in:
parent
a36266a764
commit
8730e92d7c
@ -1633,7 +1633,7 @@ class MessagesManager : public Actor {
|
||||
static constexpr int32 MAX_GET_HISTORY = 100; // server side limit
|
||||
static constexpr int32 MAX_SEARCH_MESSAGES = 100; // server side limit
|
||||
static constexpr int32 MIN_SEARCH_PUBLIC_DIALOG_PREFIX_LEN = 4; // server side limit
|
||||
static constexpr int32 MIN_CHANNEL_DIFFERENCE = 10;
|
||||
static constexpr int32 MIN_CHANNEL_DIFFERENCE = 1;
|
||||
static constexpr int32 MAX_CHANNEL_DIFFERENCE = 100;
|
||||
static constexpr int32 MAX_BOT_CHANNEL_DIFFERENCE = 100000; // server side limit
|
||||
static constexpr int32 MAX_RECENTLY_FOUND_DIALOGS = 30; // some reasonable value
|
||||
|
Loading…
Reference in New Issue
Block a user