diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-24 11:28:37 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-24 11:28:37 -0400 |
commit | 87f34026e85dfd73b68568bc46db555c173be1f4 (patch) | |
tree | a89d19d2f6b7721461bf1ca13c8ba6a1b36d3f0f /setup.py | |
parent | 0643cc2f06f175451439a4bed71478ff6825494a (diff) | |
download | cloud_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 'setup.py')
0 files changed, 0 insertions, 0 deletions