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

feat: add user ability to configure max write # #142

Merged
merged 2 commits into from
Apr 27, 2022
Merged

feat: add user ability to configure max write # #142

merged 2 commits into from
Apr 27, 2022

Conversation

salesh
Copy link
Contributor

@salesh salesh commented Apr 27, 2022

Related to #138

I hope I covered everything - please let me know if I need to add/change something.

Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@@ -11,6 +11,7 @@ export type SonicBoomOpts = {
dest?: string | number
maxLength?: number
minLength?: number
maxWrite?: number
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually test our types with tsd! Could you add an assertion for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcollina please correct me if I am wrong - by checking out how tsd works and checking out some other pino repositories I guess I only need to make change like this 42799c6

Let me know if my understanding is bad, and thanks for sharing with me tsd

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's ok!

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jsumners jsumners merged commit 66fccc6 into pinojs:master Apr 27, 2022
@salesh salesh deleted the add-max-write-configurable branch April 27, 2022 21:22
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.

3 participants