We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe33f3c commit 43cedd8Copy full SHA for 43cedd8
components/gmail/common/constants.mjs
@@ -5,12 +5,14 @@ const BODY_TYPES = {
5
};
6
const HISTORICAL_EVENTS = 10;
7
const DEFAULT_LIMIT = 100;
8
+const MAX_LIMIT = 500;
9
const INBOX_LABEL_ID = "INBOX";
10
11
export default {
12
USER_ID,
13
BODY_TYPES,
14
HISTORICAL_EVENTS,
15
DEFAULT_LIMIT,
16
+ MAX_LIMIT,
17
INBOX_LABEL_ID,
18
components/gmail/sources/common/polling-history.mjs
@@ -78,6 +78,7 @@ export default {
78
const opts = {
79
startHistoryId: String(startHistoryId),
80
historyTypes: this.getHistoryTypes(),
81
+ maxResults: constants.MAX_LIMIT,
82
83
84
const length = this.labels?.length > 0
0 commit comments