guardian / guardian/dotcom-rendering

Make CacheTime consistent in Sport service

Open
#15,655 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

In Sport service, in some places the cache time is explicitly given e.g. `Cached(30)` and in some other places the constants are used from the `Cached.scala` file. Lets make this consistent and always use the constants rather than explicit digits, e.g. `Cached(30)` is converted to `Cached(acheTime.FootballMediumCache)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.