timeline API only returns last 30 days
๐ก Summary
The notes/timeline, notes/hybrid-timeline, notes/local-timeline endpoints only return notes from the last 30 days
๐ฅฐ Expected Behavior
Asking sinceId:'0' should return the oldest note that the server saw
๐คฌ Actual Behavior
Asking sinceId:'0' returns a note from a month ago, regardless of how long the instance has been running and receiving notes.
๐ Environment
Misskey version: any version after 6f51e7300e52994943fcec32aaa29693623f533b
The commit 6f51e7300e52994943fcec32aaa29693623f533b doesn't explain why it was made. I feel it's some debugging code that was released by accident, especially considering that notes/global-timeline does not share this limitation.
The commit 6f51e7300e52994943fcec32aaa29693623f533b doesn't explain why it was made.
FYI: https://github.com/misskey-dev/misskey/issues/9205#issuecomment-1345179841
oh, so it's intentional? why doesn't global-timeline do the same thing?
Performance problems were occurring with Home Timeline and Local Timeline on large instances and the cause needed to be investigated. On the other hand, Global Timeline was not included in the restriction because the problem was not occurred.
Either way, the restrictions added in 6f51e7300e52994943fcec32aaa29693623f533b did not solve the performance problem, so I think now they can be removed.
thank you for the explanation, my Japanese is not good enough to follow the discussion and automatic translation doesn't help enough!
ใญใผใซใงๅคๆดใงใใฆใใใใใใใใชใ
@syuilo
https://github.com/misskey-dev/misskey/issues/9205#issuecomment-1368397522 ใ ใไธๅพใงๅทฎใๆปใใฆใใใใใใชใใฎ
~~ใใใใใคใณใใใฏใน็ใชใใจใ่ใใใจใใฎใธใใฎๆฅใซใกใฎidใไฝใฃใฆ็ตใใชใใจใใกใฃใฝใ~~ใฃใฆๆใฃใใใฉใชใใใใใงใ userId ใฎ index ใจใใซ id ๅ ฅใฃใฆใชใใใใ ใใใใ ใช (idใPKใฎใคใณใใใฏในใใใฎใงใชใใใใฏใใทใใใชๆฐใฏใใใ)