#22 Long outputs seem to stutter
Closed by glb. Opened by glb.

Due to some apparent rate limiting on the Fedora Matrix homeserver, long outputs will start out fast, pause for several seconds, then resume. This is confusing because it seems like the bot has crashed when the output stops so suddenly.

It might help if there were a SLOWDOWN config option that inserted a delay of the specified number of seconds at the end of each iteration of the output loop.


Metadata Update from @glb:
- Issue assigned to glb

Adding a delay to the main output loop does not seem to be helping with the stutter. There is always a long pause after the third card in a column is listed. The rate limit might be on FAS queries rather than on posts to the Matrix channel. I'm going to try caching the FAS queries to see if that helps.

Caching the FAS queries does seem to help, but only on subsequent queries. It seems that there is a rate limit on querying the FAS system for FPCA signatures. There will always be a slight pause after three queries.

Metadata Update from @glb:
- Issue status updated to: Closed (was: Open)

Metadata
Related Pull Requests