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

tari-project / tari / 5573250331
62%

Build:
DEFAULT BRANCH: development
Ran 17 Jul 2023 08:36AM UTC
Jobs 1
Files 694
Run time 9s
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

17 Jul 2023 08:08AM UTC coverage: 75.944% (-0.02%) from 75.959%
5573250331

push

github

web-flow
feat: chat message fetching pagination (#5594)

Description
---
Previously the only function to get messages was `get_all_messages`
which return all related records in the db. Now we've added pagination
and you can select the amount of results per page, and what page you'd
like returned. Results are now ordered by most recent received.

Motivation and Context
---
`get_all_messages` has the potential to get very slow and ddos the
client. Limiting the amount returned and allowing to change the
requested amounts makes things better to deal with.

How Has This Been Tested?
---
Test added for pagination.

What process can a PR reviewer use to test or verify this change?
---
Tests pass.

Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

43 of 43 new or added lines in 5 files covered. (100.0%)

70276 of 92536 relevant lines covered (75.94%)

203707.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5573250331.1 17 Jul 2023 08:36AM UTC 0
75.94
GitHub Action Run
Source Files on build 5573250331
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5573250331
  • 20243574 on github
  • Prev Build on development (#5555508876)
  • Next Build on development (#5584203371)
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

© 2026 Coveralls, Inc