Removed force GC.start because it doesn't help us.
This commit is contained in:
parent
61a42e63b4
commit
269dfce55b
|
@ -159,8 +159,6 @@ class TelegramClient
|
||||||
# send and add message id to unreads
|
# send and add message id to unreads
|
||||||
@cache[:unread_msg][update.message.chat_id] = update.message.id
|
@cache[:unread_msg][update.message.chat_id] = update.message.id
|
||||||
@xmpp.incoming_message(update.message.chat_id.to_s, text)
|
@xmpp.incoming_message(update.message.chat_id.to_s, text)
|
||||||
|
|
||||||
GC.start
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# new chat update -- when tg client discovers new chat #
|
# new chat update -- when tg client discovers new chat #
|
||||||
|
|
Reference in a new issue