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

Change-Id: I3b366e06bb1980d834cad09c24dde929981ea366
This commit is contained in:
Matthias Mullie 2014-02-05 14:21:48 -08:00
parent 1f9c58dc4c
commit b0c4e551fd

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;