You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| id | String | page path | The limit rate is per page by default. To override the behavior, set the ID. It can be a custom ID for each page, group, or application. |
145
+
| throttle | Number ||_(ms)_ After how many milliseconds a next request is allowed. |
146
+
135
147
**Declare global settings**
136
148
137
149
```js
@@ -143,6 +155,9 @@ emailjs.init({
143
155
blockList: {
144
156
list: ['foo@emailjs.com', 'bar@emailjs.com'],
145
157
},
158
+
limitRate: {
159
+
throttle:10000, // 10s
160
+
},
146
161
});
147
162
```
148
163
@@ -162,6 +177,9 @@ emailjs
162
177
blockList: {
163
178
watchVariable:'userEmail',
164
179
},
180
+
limitRate: {
181
+
throttle:0, // turn off the limit rate for these requests
0 commit comments