"Replace" Button File Size Limit

Hi,
I’ve set an “Maximum push size” limit of 1024mb and this works perfektly with a cloned repo on a machine. So if i commit and push from this machine with git i can push files with file size of 40mb for example.
But if i use the gitlab “Replace” button on a specific file, the limit seems to be the 10mb set in “Maximum attachment size”. Is this a bug?