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

Add enforcement of DS_MAX_RECORD_DATA_SIZE #14

Open
frankhinek opened this issue May 1, 2023 · 0 comments
Open

Add enforcement of DS_MAX_RECORD_DATA_SIZE #14

frankhinek opened this issue May 1, 2023 · 0 comments

Comments

@frankhinek
Copy link
Collaborator

The dwn-server config has a MAX_RECORD_DATA_SIZE value can be passed as an environment variable:

// max size of data that can be provided with a RecordsWrite
maxRecordDataSize : bytes(process.env.MAX_RECORD_DATA_SIZE || '1gb'),

Enforcement needs to be implemented.

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

No branches or pull requests

1 participant