Comments (12)
Hi @bdraco
Your suggestion sounds reasonable and I'm happy to implement it - since I'm on a business trip next week, I can care about it earliest the week after.
from core.
Feedback: Seems to work 100% now (HA 2024.6.2).
Thank you very much!
from core.
aiohttp.ClientTimeout(total=40, connect=15)
would probably fix this.
Since the lib already knows about aiohttp sessions, I think it would be ok to accept a ClientTimeout
object as the timeout or a float/int
from core.
i found some spare time in between preparing for the business trip ๐
from core.
Hey there @hacf-fr, @Quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration (synology_dsm
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of synology_dsm
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign synology_dsm
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
synology_dsm documentation
synology_dsm source
(message by IssueLinks)
from core.
I believe thats one of the ones with the old slower Marvell chips. Maybe 30s is even too low for it when its under load. Synology's API internals are very poorly optimized. We ended up bumping up the timeout a bit ago, but maybe its not enough. Maybe we need to go to 40s
from core.
What does the startup time look like ?
System -> Settings -> Repairs -> 3 dots in the upper right -> Integration startup time
from core.
The general load on NAS01 is ~5% CPU except during backups where it peaks at 100%, illustrated with fill(previous) below
from core.
We increased it to 30 in #116836
I'm hesitant to increase it more without splitting the timeout in the library so we have a lower connect timeout and a higher read timeout as we might get into a predicament where we block startup for too long if we increase it anymore
from core.
I think we could set the connect timeout to 15 and the read/write timeout to 40s and be ok
But we would need a change in the library to be able to pass both
from core.
Right now its implemented as a total timeout https://github.com/mib1185/py-synologydsm-api/blob/b6166f77504f9d705b6b77cd458e39e21e44d892/src/synology_dsm/synology_dsm.py#L77
from core.
I'm not the codeowner here so above it just my suggestion. Let's wait for one of the codeowners to respond before proceeding
from core.
Related Issues (20)
- Error doing job: Task exception was never retrieved (None) HOT 3
- Tuya integration "Nobito 2CO10" don't show all informations HOT 1
- Unable to add Withings integration HOT 23
- Since new Sonos app update, media_player entities intermittently does not detect Sonos speaker HOT 11
- Error loading libturbojpeg; Camera snapshot performance will be sub-optimal
- SMS notifications via GSM-modem on NabuCasa Green -> problem with SIM800C HOT 1
- Aqara H1 WS-EUK04 "hold double" trigger is fired even when pressing only one button HOT 1
- `trigger_variables` cannot be used in template trigger `for` key HOT 1
- Wake on lan no longer works HOT 1
- Any updates fail: Failed to call service update/install. Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, no host internet connection HOT 2
- fulljid property deprecated. Use boundjid.resource HOT 1
- Alarm Decoder doesn't work with Core update 2024.6.4 HOT 3
- Error in Unifi Network Integration HOT 2
- Opower not working for Seattle City Light HOT 7
- Insteon integration failing to start after several minutes trying (was working) HOT 1
- ecovacs - DEEBOT N10 MAX+ (clojes) - No response received for command "getMapSet_V2" (6 occurrences) HOT 1
- MQTT integration unable to use MQTT SSL HOT 1
- WolfLink with CWL2 "Fehler beim Einrichten: รberprรผfe die Protokolle" HOT 4
- Error setting up entry Wemo for wemo HOT 4
- EzViz: translation missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.