Snd-R / komf

Komga and Kavita metadata fetcher
MIT License
323 stars 19 forks source link

Returning infinite amount of series pages #160

Closed ElryGH closed 2 months ago

ElryGH commented 2 months ago

It seems to be that Komf runs into an infinite "loop" when doing a full scan (POST 127.0.0.1:8085/kavita/match/library/1).

Logs show that after a while im at pageNumber=5209 while its scanning 500 entries per site and i only have 30 entries.

komf-testing  | 10:39:06.839 [OkHttp http://kavita-test:5000/...] INFO http.logging -- --> POST http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52099&pageSize=500 (17-byte body)
komf-testing  | 10:39:06.840 [OkHttp http://kavita-test:5000/...] INFO http.logging -- <-- 200 OK http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52099&pageSize=500 (1ms, unknown-length body)
komf-testing  | 10:39:06.840 [OkHttp http://kavita-test:5000/...] INFO http.logging -- --> POST http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52100&pageSize=500 (17-byte body)
komf-testing  | 10:39:06.842 [OkHttp http://kavita-test:5000/...] INFO http.logging -- <-- 200 OK http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52100&pageSize=500 (1ms, unknown-length body)
komf-testing  | 10:39:06.842 [OkHttp http://kavita-test:5000/...] INFO http.logging -- --> POST http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52101&pageSize=500 (17-byte body)
komf-testing  | 10:39:06.843 [OkHttp http://kavita-test:5000/...] INFO http.logging -- <-- 200 OK http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52101&pageSize=500 (1ms, unknown-length body)
komf-testing  | 10:39:06.844 [OkHttp http://kavita-test:5000/...] INFO http.logging -- --> POST http://kavita-test:5000/api/series/v2?libraryId=1&pageNumber=52102&pageSize=500 (17-byte body)
ElryGH commented 2 months ago

Idk if its only the POST full scan or any scan that fires over the library.