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: sqlite add set and minor cleanup #4018

Merged
merged 3 commits into from
Jan 21, 2025
Merged

feat: sqlite add set and minor cleanup #4018

merged 3 commits into from
Jan 21, 2025

Conversation

ronag
Copy link
Member

@ronag ronag commented Jan 20, 2025

set is a more performant variant of createWriteStream for small responses...

@ronag ronag requested review from mcollina and metcoder95 January 20, 2025 19:06
@ronag ronag force-pushed the sqlite-cleanup branch 7 times, most recently from 316c7a4 to d945167 Compare January 20, 2025 19:16
Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -90,7 +90,7 @@ declare namespace CacheHandler {
headers: Record<string, string | string[]>
vary?: Record<string, string | string[]>
etag?: string
body: null | Readable | Iterable<Buffer> | AsyncIterable<Buffer> | Buffer | Iterable<string> | AsyncIterable<string> | string
body?: Readable | Iterable<Buffer> | AsyncIterable<Buffer> | Buffer | Iterable<string> | AsyncIterable<string> | string
Copy link
Member

Choose a reason for hiding this comment

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

This wouldn't be breaking if we drop null?

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

@mcollina
Copy link
Member

CI is not happy

@ronag ronag merged commit fe21269 into main Jan 21, 2025
37 checks passed
@github-actions github-actions bot mentioned this pull request Jan 22, 2025
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