• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 14830674456
89%

Build:
DEFAULT BRANCH: main
Ran 05 May 2025 06:53AM UTC
Jobs 1
Files 861
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 May 2025 06:47AM UTC coverage: 90.479% (-0.02%) from 90.5%
14830674456

push

github

web-flow
fix: use dynamic TTL for in-memory price cache (#2558)

We use a dynamic TTL when caching token prices - certain tokens have high refresh rates.

When populating the cache, this is [set correctly](https://github.com/safe-global/safe-client-gateway/blob/fix/in-memory-token-cache/src/datasources/balances-api/coingecko-api.service.ts#L376). When populating the in-memory cache, however, it is currently set to the defaul price TTL. This adjusts the logic in question to set the dynamic TTL:

- Populate in-memory cache according to token

3275 of 3942 branches covered (83.08%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

11331 of 12201 relevant lines covered (92.87%)

563.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 14830674456.1 05 May 2025 06:53AM UTC 1721
91.46
GitHub Action Run
Source Files on build 14830674456
  • Tree
  • List 861
  • Changed 231
  • Source Changed 1
  • Coverage Changed 231
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14830674456
  • f3f58c84 on github
  • Prev Build on main (#14793437872)
  • Next Build on main (#14831665933)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc