Make time-to-live configurable

Open Beginner friendly
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
web-dev

Research direction

Read src/runtime.ts around line 65 to see how the current 24-hour time-to-live is applied. Trace the surrounding configuration path, then make the TTL configurable while preserving the current default and verify that callers can select a different duration.

Written by the indexing model from the issue text.

Description

Make time-to-live configurable. Currently it's set to 24 hours which seems too much.

https://github.com/vercel/resumable-stream/blob/aa490f28b4199099a7bda98b7d3ab856aaeace5f/src/runtime.ts#L65

Dominant language
TypeScript
Stars
574
Forks
44
Avg merge
3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vercel/resumable-stream

All issues in vercel/resumable-stream

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.