Skip to content

Issue 15 runner efficiency#17

Closed
evermake wants to merge 2 commits intomainfrom
cursor/issue-15-runner-efficiency-8fba
Closed

Issue 15 runner efficiency#17
evermake wants to merge 2 commits intomainfrom
cursor/issue-15-runner-efficiency-8fba

Conversation

@evermake
Copy link
Copy Markdown
Member

Implement an efficient Runner using Effect to fetch updates in batches and process them concurrently, addressing issue #15.

The previous makeSimple runner fetched and processed updates one by one, which is inefficient for high-throughput bots. This PR introduces a new make function that fetches updates in batches of up to 100 (Telegram's limit) and processes them concurrently using Effect streams, significantly improving performance. The makeSimple function is now a wrapper around make with concurrency: 1 to maintain its original sequential processing guarantee while still benefiting from batched fetching.


Open in Cursor Open in Web

Co-authored-by: vladeryabkin <vladeryabkin@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Jan 16, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

…l shutdown

Co-authored-by: vladeryabkin <vladeryabkin@gmail.com>
@evermake evermake closed this Feb 1, 2026
@evermake evermake deleted the cursor/issue-15-runner-efficiency-8fba branch February 1, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants