Skip to content

Conversation

@Lash-L
Copy link
Collaborator

@Lash-L Lash-L commented Jan 9, 2026

15/hour seems to be too aggressive.

Something on my real instance got mad after the update and failed to get home data repeatedly. I wish I knew the cause, but unfortunately I do not as I did not have debug logging enabled, I just end up seeing the home data bucket full.

My instance ended up causing a slowdown on the app and I believe put itself in a bad state that maybe it continued to fail to get home data after sending ~15/hour for a few hours

Dramatically decreasing to limit potential rate limiting on Roborock's side and increase the chance of us automatically recovering.

@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
roborock/web_api.py 51.62% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the rate limits for home data API calls to prevent instances from hitting Roborock's API rate limits and entering a degraded state. The change decreases the minute limit from 5 to 3 requests and the hourly limit from 15 to 5 requests.

Key Changes:

  • Reduced home data API rate limit from 5 to 3 requests per minute
  • Reduced home data API rate limit from 15 to 5 requests per hour

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Lash-L Lash-L merged commit 29eb984 into main Jan 9, 2026
14 checks passed
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.

3 participants