aboutsummaryrefslogtreecommitdiff
path: root/markov/__init__.py
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-03-09 21:12:09 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-03-09 21:16:58 +0000
commit8cdeb0a316628f2e581e66e0c72442ac23c56a74 (patch)
tree6078c8a399a191a2c940d577d93a6d8df2fafa01 /markov/__init__.py
parent118f7d22503fc8c2c9499103af6f1b430113221d (diff)
downloadaps-cogs-8cdeb0a316628f2e581e66e0c72442ac23c56a74.tar
aps-cogs-8cdeb0a316628f2e581e66e0c72442ac23c56a74.tar.gz
aps-cogs-8cdeb0a316628f2e581e66e0c72442ac23c56a74.zip
question_of_the_day: use get_member in paginate_questions
Repeatedly running `fetch_member` is making this operation take a very long time, scaling with the number of questions present in the list. In practice, roughly 8 seconds was observed for just 22 questions when calling `qotd list`. Switching to `get_member` makes this near-instantaneous.
Diffstat (limited to 'markov/__init__.py')
0 files changed, 0 insertions, 0 deletions