Merge "Add some more clarification on why event_extra can't be too large"

This commit is contained in:
jenkins-bot 2014-02-05 23:58:20 +00:00 committed by Gerrit Code Review
commit ff53edda5b

View file

@ -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;