-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
default pollinterval 30000 msec #39143
Conversation
💥 Acceptance tests pipeline apiCapabilities-mariadb10.2-php7.4 failed. The build has been cancelled. |
There are scenarios in |
And it looks like the default value can be overridden on a server by putting it in |
This is the PR (new in 2.9) in the desktop client, that uses this: owncloud/client#8777 I was implementing it under the impression that nothing uses that capability so far. The idea is to give admins of large installations a chance to "adjust" the load from the desktop clients by expanding the remote poll interval a bit over 30 seconds, which was the default. We decided to change the unit from seconds to Microseconds because that was the best way to decide if the admin really set that value or if the client reads an default value from the capabilities. The client only takes values > 5000 into account as a result. I hope that clarifies a bit. |
yes, please change the default to align with the 30sec / 30000msec used by clients
|
07237e8
to
7963969
Compare
The desktop client uses a default poll interval of 30000 msec whenever the capabilities announce something less than 5000. To get in sync with this behaviour, I suggest to also change the value here to 30000. A value of 60 also leads to confusion, as users asume the unit is seconds, which it is not. Suggestion for future: Hardcode the unit in the name of the variable, like. e.g. `pollinterval_msec`
7963969
to
c66be9c
Compare
Kudos, SonarCloud Quality Gate passed! |
Note following comment in owncloud/client#8777
Is this still valid and does this has an impact to documentation? |
See #39143 (comment) |
I raised client PR owncloud/client#9465 to adjust some client comments etc. IMO this core PR is ready to merge - the general agreement is that the unit-of-measure for Can we merge? |
Merging - if anyone objects we can modify something, but IMO this is "a good thing". |
Confirmed fixed in 10.10.0 rc2 |
The desktop client uses a default poll interval of 30000 msec whenever the capabilities announce something less than 5000.
To get in sync with this behaviour, I suggest to also change the value here to 30000.
A value of 60 also leads to confusion, as users assume the unit is seconds, which it is not.
Suggestion for future: Hardcode the unit in the name of the variable, like. e.g.
pollinterval_msec
Related doc issue: https://github.com/owncloud/docs/issues/3970
Doc issue transferred to owncloud/docs-server#109