Larger description html text limits
We completely removed the character limit for namespace_details.description
/description_html
in !94897 (merged) as a quick fix to reduce production errors (e.g. #370174 (closed)) caused by !82958 (merged), but the reviewer suggested we open this followup issue to address potential performance impact:
Did we check the performance & security impact of removing these constraints? As far as I know the default limit of a column on PostgreSQL is 1 GB so these 2 columns will be able to store 2 GBs of data per row if we drop the constraint. Maybe we can just truncate the
description
and ignore thedescription_html
if they exceed the limits?
In this issue, add back in text limits for namespace_details.description
and namespace_details.description_html
, being careful not to reintroduce the error.