[PB-6327] feat(file-size-limit): limit file size on create and replace#1047
Conversation
db57f75 to
971e1ac
Compare
* chore: increase limit folder stats * reduce limit to 1000
971e1ac to
1ca7a1d
Compare
|
There was a problem hiding this comment.
We should expire the cache if a tier change occurs. Is there any point in these changes where that is handled?
This needs to be done if we are going to rely on the cache when possible, otherwise weird situations like not being able to do something after upgrading or allowing something temporarily after downgrading could happen.
|
@sg-gs The cache is for the tier (globally), not the user. If we increase limit for a plan someday, we can just wait 10 minutes for the TTL to expire. I am thinking about adding a cache for the user's tier, overriden limits or whatever setting that we can just remove/upgrade when the user has changed the plan like we do with the limit, but that would be a nice-to-have that I preferred not to handle in this ticket. |
|
Migration run @apsantiso |



This prepares the environment for file size limit.
Changes