Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore file-upload meteor-method by ostrio:files #34

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Ignore file-upload meteor-method by ostrio:files #34

merged 1 commit into from
Feb 12, 2020

Conversation

SimonSimCity
Copy link
Member

The package ostrio:files registers meteor-method calls starting by _FilesCollectionWrite_ followed by the name of the file-collection. These method-calls are used to upload files to the server. Monitoring these methods (which come in rapidly as we want to upload the file fastest possible) would result in sending the full file in a EJSON encoded way also to the monitoring system.

The package ostrio:files registers meteor-method calls starting by "_FilesCollectionWrite_" followed by the name of the file-collection. These method-calls are used to upload files to the server. Monitoring these methods (which come in rapidly as we want to upload the file fastest possible) would result in sending the full file in a EJSON encoded way also to the monitoring system.
@SimonSimCity
Copy link
Member Author

This will both reduce the data sent over to the monitoring system and will also avoid crashes like this one when uploading big files: elastic/apm-nodejs-http-client#80

@SimonSimCity
Copy link
Member Author

Will be auto-merged as soon as #45 is merged.

@SimonSimCity SimonSimCity merged commit e603b45 into Meteor-Community-Packages:master Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant