Skip to content

174-Bug fix heartbeat blocking in match refresher task#176

Merged
RemainingDelta merged 1 commit intodevfrom
174-Bug
Mar 29, 2026
Merged

174-Bug fix heartbeat blocking in match refresher task#176
RemainingDelta merged 1 commit intodevfrom
174-Bug

Conversation

@RemainingDelta
Copy link
Copy Markdown
Owner

Changes

  • Wrapped fetch_ticket_context and find_match_by_team_name calls in run_in_executor to run off the event loop
  • Prevents synchronous HTTP requests from blocking Discord's heartbeat during tournament refreshes
  • Fixes gateway disconnection risk during peak tournament hours with many open tickets

Closes #174

@RemainingDelta RemainingDelta merged commit 1e7c284 into dev Mar 29, 2026
1 check passed
@RemainingDelta RemainingDelta deleted the 174-Bug branch March 29, 2026 03:16
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.

Bug: Synchronous Matcherino API calls blocking the event loop in match_refresher_task

1 participant