mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Add some more clarification on why event_extra can't be too large
Change-Id: I3b366e06bb1980d834cad09c24dde929981ea366
This commit is contained in:
parent
1f9c58dc4c
commit
b0c4e551fd
|
@ -109,7 +109,9 @@ class EchoEvent {
|
|||
}
|
||||
|
||||
// If the extra size is more than 50000 bytes, that means there is
|
||||
// probably a problem with the design of this notification type
|
||||
// probably a problem with the design of this notification type.
|
||||
// There might be data loss if the size exceeds the DB column size of
|
||||
// event_extra.
|
||||
if ( strlen( $obj->serializeExtra() ) > 50000 ) {
|
||||
wfDebugLog( __CLASS__, __FUNCTION__ . ': event extra data is too huge for ' . $info['type'] );
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue