Unverified Commit f6e11e86 authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix getRecentTraces sorting/limiting logic

Collect all summaries before sorting and limiting to ensure we return
the actual most recent traces, not just the first N traces returned
by KvStore.list().

Also removed unnecessary type annotation on summaryPrefix.

https://github.com/fedify-dev/fedify/pull/502#discussion_r2642993269
https://github.com/fedify-dev/fedify/pull/502#discussion_r2642989826
parent d9aea3f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment