diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-08-26 19:09:45 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | bdc1ce69171944292de06791f3ed647ff3f5bbcd (patch) | |
tree | f246ce0f62080f16eeee38fe50e0c3615f2663b0 /slack | |
parent | ec8ae28684dcb234a35ee370aec36cd2ebe3f3ff (diff) | |
download | wee-slack-bdc1ce69171944292de06791f3ed647ff3f5bbcd.tar.gz |
Remove history render time logging
Diffstat (limited to 'slack')
-rw-r--r-- | slack/slack_conversation.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py index ecf6d9b..7d44fba 100644 --- a/slack/slack_conversation.py +++ b/slack/slack_conversation.py @@ -387,7 +387,6 @@ class SlackConversation: self.history_pending = True history = await self._api.fetch_conversations_history(self) - start = time.time() messages = [SlackMessage(self, message) for message in history["messages"]] for message in messages: @@ -404,7 +403,6 @@ class SlackConversation: for message in reversed(messages): await self.print_message(message, backlog=True) - print(f"history w/o fetch took: {time.time() - start}") self.history_filled = True self.history_pending = False |