aboutsummaryrefslogtreecommitdiffstats
path: root/cloud_mdir_sync/office365.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-02-24 11:28:37 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-02-24 11:28:37 -0400
commit87f34026e85dfd73b68568bc46db555c173be1f4 (patch)
treea89d19d2f6b7721461bf1ca13c8ba6a1b36d3f0f /cloud_mdir_sync/office365.py
parent0643cc2f06f175451439a4bed71478ff6825494a (diff)
downloadcloud_mdir_sync-87f34026e85dfd73b68568bc46db555c173be1f4.tar.gz
cloud_mdir_sync-87f34026e85dfd73b68568bc46db555c173be1f4.tar.bz2
cloud_mdir_sync-87f34026e85dfd73b68568bc46db555c173be1f4.zip
gmail: Fix determining the start_history_id
Occasionally gmail returns history records that have junk in them, for instance messages IDs that don't exist. This appears to be a bug. Using the latest history ID seems to guarantee that a subsequent history query will be empty and we can then avoid the junk and start again. Go back to full query if delta fails for any reason. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud_mdir_sync/office365.py')
0 files changed, 0 insertions, 0 deletions