Skip to content

perf: memoize blobs requests in the request scope #2777

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix lint
  • Loading branch information
pieh committed Mar 27, 2025
commit d2a7fac0a2a2674416ab60aecd84b5f710d00637
2 changes: 1 addition & 1 deletion src/run/storage/storage.cts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { type BlobType } from '../../shared/cache-types.cjs'
import { getTracer } from '../handlers/tracer.cjs'

import { getRequestSpecificInMemoryCache } from './request-scoped-in-memory-cache.cjs'
import { getRegionalBlobStore } from './regional-blob-store.cjs'
import { getRequestSpecificInMemoryCache } from './request-scoped-in-memory-cache.cjs'

const encodeBlobKey = async (key: string) => {
const { encodeBlobKey: encodeBlobKeyImpl } = await import('../../shared/blobkey.js')
Expand Down