What is blocks rewrite limit?

Hello,

What is the block rewrite limit(a maximum number of the blocks that can be rolled back) in Cardano? Or after how many blocks, blocks cannot be reversed?