Limit the message length that is stored in the database