Receiving "event exceeded the permitted size" uploading file with Meteor-Files
SimonSimCity opened this issue · 2 comments
SimonSimCity commented
I've noticed that the console reports Error: event exceeded the permitted size.
if I upload a file on https://github.com/VeliovGroup/Meteor-Files which is quite large (more than 2mb).
SimonSimCity commented
Could be fixed by #34
SimonSimCity commented
Fixed by fully ignoring all DDP methods whose name starts with _FilesCollectionWrite_
. In this way we ignore (and loose) a lot of the messages but also skip sending a ton of methods to Elastic APM.