Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket improvements #28

Merged
merged 27 commits into from
Jan 5, 2023
Merged

Websocket improvements #28

merged 27 commits into from
Jan 5, 2023

Conversation

BeatsuDev
Copy link
Owner

Changes:

  • Added exponential backoff with full jitter to reconnection attempts
  • Added user_agent
  • Added the update() function + more documentation about this
  • Improved the connection limit bug (not yet fully fixed)

@BeatsuDev BeatsuDev linked an issue Jan 5, 2023 that may be closed by this pull request
@BeatsuDev BeatsuDev added the bug Something isn't working label Jan 5, 2023
@BeatsuDev BeatsuDev linked an issue Jan 5, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Base: 87.23% // Head: 87.85% // Increases project coverage by +0.62% 🎉

Coverage data is based on head (dc1feec) compared to base (fbd4dce).
Patch coverage: 78.50% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   87.23%   87.85%   +0.62%     
==========================================
  Files          32       32              
  Lines         987     1013      +26     
==========================================
+ Hits          861      890      +29     
+ Misses        126      123       -3     
Impacted Files Coverage Δ
tibber/networking/query_builder.py 90.72% <ø> (+3.97%) ⬆️
tibber/networking/query_executor.py 75.00% <70.83%> (-21.23%) ⬇️
tibber/types/home.py 91.17% <83.33%> (-4.37%) ⬇️
tibber/account.py 90.74% <88.88%> (-6.99%) ⬇️
tibber/exceptions/__init__.py 100.00% <100.00%> (ø)
tibber/exceptions/api.py 100.00% <100.00%> (ø)
tibber/types/live_measurement.py 100.00% <0.00%> (+25.00%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@BeatsuDev BeatsuDev merged commit 776c5b3 into master Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants