Commit ade23a79069e53757d8a6cc15f0e2a85556af465
1 parent
c6e27df3
Update email plugin configuration and query fetch size
Showing
2 changed files
with
6 additions
and
14 deletions
... | ... | @@ -138,8 +138,8 @@ cassandra: |
138 | 138 | default_fetch_size: "${CASSANDRA_DEFAULT_FETCH_SIZE:2000}" |
139 | 139 | # Specify partitioning size for timestamp key-value storage. Example MINUTES, HOURS, DAYS, MONTHS |
140 | 140 | ts_key_value_partitioning: "${TS_KV_PARTITIONING:MONTHS}" |
141 | - # Specify max partitions per request | |
142 | - max_limit_per_request: "${TS_KV_MAX_LIMIT_PER_REQUEST:1000}" | |
141 | + # Specify max data points per request | |
142 | + max_limit_per_request: "${TS_KV_MAX_LIMIT_PER_REQUEST:86400}" | |
143 | 143 | |
144 | 144 | # Actor system parameters |
145 | 145 | actors: | ... | ... |
... | ... | @@ -287,10 +287,10 @@ VALUES ( |
287 | 287 | 'org.thingsboard.server.extensions.core.plugin.mail.MailPlugin', |
288 | 288 | true, |
289 | 289 | '{ |
290 | - "host": "smtp.gmail.com", | |
291 | - "port": 587, | |
292 | - "username": "username@gmail.com", | |
293 | - "password": "password", | |
290 | + "host": "smtp.sendgrid.net", | |
291 | + "port": 2525, | |
292 | + "username": "apikey", | |
293 | + "password": "your_api_key", | |
294 | 294 | "otherProperties": [ |
295 | 295 | { |
296 | 296 | "key":"mail.smtp.auth", |
... | ... | @@ -303,14 +303,6 @@ VALUES ( |
303 | 303 | { |
304 | 304 | "key":"mail.smtp.starttls.enable", |
305 | 305 | "value":"true" |
306 | - }, | |
307 | - { | |
308 | - "key":"mail.smtp.host", | |
309 | - "value":"smtp.gmail.com" | |
310 | - }, | |
311 | - { | |
312 | - "key":"mail.smtp.port", | |
313 | - "value":"587" | |
314 | 306 | } |
315 | 307 | ] |
316 | 308 | }' | ... | ... |