mapbox / mapbox/tilelive-redis

User-defined function to determine TTL

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Allow a user defined function to be passed in to the constructor, which is used to evaluate the url and determine the `stale` and `ttl` options based on the url.

Contributor guide

Open the contributing guide

Research direction

Start by locating the constructor and the code that evaluates URLs and currently sets the stale and ttl options. Determine how a user-supplied function should receive the URL and return those options; the work is done when the constructor accepts it and the returned values control TTL behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, redis
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.