purldb icon indicating copy to clipboard operation
purldb copied to clipboard

Calls to collect/index_packages API endpoint takes too much time and often timeout

Open pombredanne opened this issue 1 year ago • 2 comments

Calls to collect/index_packages API endpoint takes too much time and often timeout. We should instead return immediately and do all the bidding in a background task including:

  • collect versions (one, all or vers)
  • collect source packages
  • then queue these for actual data collection

pombredanne avatar Jul 05 '24 06:07 pombredanne

Same for the plain collect pkg:maven/com.amazonaws/[email protected] for example. We should NOT do the purl2vcs call in the request as this is impractically slow sometimes but only in the background.

pombredanne avatar Jul 19 '24 13:07 pombredanne

Hey @pombredanne can I try to resolve this?

suyashgupta2411 avatar Mar 26 '25 16:03 suyashgupta2411