diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-30 19:35:25 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-30 19:35:32 -0300 |
commit | 9d4aa4c3264127fffbbcab99dfa303b2214749d9 (patch) | |
tree | 806f582e4a16e3545893cc1f00de1dd369ec6083 | |
parent | b9fccfd53902389d01dc8ea5acb375aeca95e55e (diff) | |
download | cloud_mdir_sync-9d4aa4c3264127fffbbcab99dfa303b2214749d9.tar.gz cloud_mdir_sync-9d4aa4c3264127fffbbcab99dfa303b2214749d9.tar.bz2 cloud_mdir_sync-9d4aa4c3264127fffbbcab99dfa303b2214749d9.zip |
Increase the page size for listing O365 mailboxes
This helps large mailboxes quite a lot, it looks like this can list some
700 messages/second
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
-rw-r--r-- | cloud_mdir_sync/office365.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloud_mdir_sync/office365.py b/cloud_mdir_sync/office365.py index 6eec42e..d68e75d 100644 --- a/cloud_mdir_sync/office365.py +++ b/cloud_mdir_sync/office365.py @@ -487,6 +487,7 @@ class O365Mailbox(mailbox.Mailbox): "$expand": "SingleValueExtendedProperties($filter=(id eq 'Integer 0xe17') or" " (id eq 'Integer 0x1080'))", + "$top": 500, }): msg = messages.Message(mailbox=self, storage_id=jmsg["id"], |