mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Add some more clarification on why event_extra can't be too large"
This commit is contained in:
commit
ff53edda5b
|
@ -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