Skip to content

v0.14.0

Choose a tag to compare

@aloth aloth released this 15 Oct 15:19
· 2 commits to main since this release

Faster comment commands

olcli comments list now fetches the docs of a project over a small pool of parallel sockets instead of one doc at a time. resolve, reopen and delete look the thread up first, so they get faster as well. On a 23-doc project, comments list went from about 7 s to about 3 s. Thanks to @fredericosantos for the change and the detailed measurements in #60.

Added

  • olcli comments list --concurrency <n> and the OLCLI_CONCURRENCY environment variable set how many sockets fetch docs in parallel, from 1 to 8 (default 4). The option takes precedence over the variable, and 1 restores the previous one-socket behavior.

Changed

  • A failed doc join stops the socket pool cleanly: no further docs are joined, and the error is reported once every socket has been closed.
  • If Overleaf rate limits an additional socket with HTTP 429, olcli continues with the remaining sockets instead of failing.