https://bugs.meego.com/show_bug.cgi?id=19432
Summary: CalDAV + Google: implement constant request rate
Classification: MeeGo Projects
Product: SyncEvolution
Platform: ---
Version: unspecified
Platform: Common
Architecture: ---
Status: NEW
Severity: enhancement
Priority: Undecided
Component: SyncEvolution
AssignedTo: syncevolution-bugs(a)meego.bugs
ReportedBy: patrick.ohly(a)intel.com
QAContact: jingke.zhang(a)intel.com
CC: syncevolution-bugs(a)meego.bugs,
syncevolution-default-bugs(a)meego.bugs
Estimated Hours: 0.0
The Google calendar server starts sending 401 errors when too many requests are
sent. The current code detects that and then retries the same request after
increasing delays.
However, each new request is always sent immediately, and thus runs into the
same 401 error, and so on.
We should remember across requests that delays were necessary and thus sent
requests at a rate that the server considers acceptable, but not faster.
To reproduce the problem, try:
CLIENT_TEST_NUM_ITEMS=100 CLIENT_TEST_MODE=server CLIENT_TEST_SIMPLE_UID=1
CLIENT_TEST_UNIQUE_UID=1 CLIENT_TEST_SERVER=google-calendar
CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/test_ ./client-test
Client::Sync::eds_event::testManyItems
--------
Product: SyncEvolution
Component: SyncEvolution
MeeGo Release: unspecified
Severity: enhancement
Priority: Undecided
Keywords:
Status: NEW
Who: patrick.ohly(a)intel.com
Assigned To: syncevolution-bugs(a)meego.bugs
Target Build: ---
Flags:
Changed:
--------
https://bugs.meego.com/show_bug.cgi?id=19432
--
Configure bugmail:
https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.