Skip to content

Commit

Permalink
remove extra logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Nov 2, 2024
1 parent 787ab2d commit d7114f4
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 314 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -752,20 +752,11 @@ class XMTPModule : Module() {
val params =
ConversationParamsWrapper.conversationParamsFromJson(conversationParams ?: "")
val order = getConversationSortOrder(sortOrder ?: "")
val start = Date()
val conversations =
client.conversations.listConversations(order = order, limit = limit)
val end = Date()
logV("LOPI Loaded ${conversations.size} DMs in ${end.time - start.time}ms")

val start2 = Date()
val convos = conversations.map { conversation ->
conversations.map { conversation ->
ConversationContainerWrapper.encode(client, conversation, params)
}
val end2 = Date()
logV("LOPI Encoded ${convos.size} DMs in ${end2.time - start2.time}ms")

convos
}
}

Expand Down
Loading

0 comments on commit d7114f4

Please sign in to comment.