Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <kfreitag@owncloud.com>2021-08-16 11:37:56 +0300
committerGitHub <noreply@github.com>2021-08-16 11:37:56 +0300
commita668053c7549e2685b4b5334c5b8e71d07007168 (patch)
tree315d685a3cd3905af30e54ab98e94d55ebdacf20 /changelog
parent49b415b3eff72eedaf30e0e8f945559adc00911f (diff)
Poll interval from capabilities (#8777)
* Add remotePollInterval capability. * Use public const int rather than define for default value. * Honour pollinterval from account capabilities for poll frequency. With this, admins can change the remote poll interval of desktop clients with the capability settings. * Use more efficient invocation of the etag job slot. * Consider capability value to be in milliseconds. * Make format check happy. * Add a ElapsedTimer to measure time since last Etag check. Also, do the check if one of the folders is due to sync every second. That way we get a more accurate sync frequency. The check is very lightweight. * Extend remotePollInterval config method to accept default value. With that it is possible to read the value for the remotepollinterval from the capabilities. * Add changelog entry for #8777. * Changes from clang-format * Fix changelog entry, punctuation at end. * do not go for assumptions how long the request takes. No magic number. * Change some method interfaces to seconds rather than microseconds. Feedback from review. * Again considering more review feedback * Remove additional 5s check already performed in ConfigFile::remotePollInterval Co-authored-by: Hannah von Reth <hannah.vonreth@owncloud.com>
Diffstat (limited to 'changelog')
-rw-r--r--changelog/unreleased/87809
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog/unreleased/8780 b/changelog/unreleased/8780
new file mode 100644
index 000000000..acad9ef44
--- /dev/null
+++ b/changelog/unreleased/8780
@@ -0,0 +1,9 @@
+Enhancement: Consider a remote poll interval coming with the server capabilities
+
+This way, admins can configure the remote sync poll interval of clients through
+the capabilities settings of the server. Note that the setting in the server
+capabilities needs to be done in milliseconds. Default is 30 seconds.
+
+https://github.com/owncloud/client/issues/5947
+https://github.com/owncloud/client/issues/8780
+https://github.com/owncloud/client/pull/8777