Fix large imap_content event warning by truncating the email text body to 2 KiB (#92066)
parent
ead761dfa2
commit
5a78684998
|
@ -177,7 +177,7 @@ class ImapDataUpdateCoordinator(DataUpdateCoordinator[int | None]):
|
|||
"search": self.config_entry.data[CONF_SEARCH],
|
||||
"folder": self.config_entry.data[CONF_FOLDER],
|
||||
"date": message.date,
|
||||
"text": message.text,
|
||||
"text": message.text[:2048],
|
||||
"sender": message.sender,
|
||||
"subject": message.subject,
|
||||
"headers": message.headers,
|
||||
|
|
Loading…
Reference in New Issue