ceramicnetwork / ceramicnetwork/js-ceramic

Gateway timeout (504) when trying to retrieve /api/v0/pins

Open
#2,500 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
423
Forks
126
PR merge metrics
No merged PRs in 30d

Description

# Description

On our production server, with around 60k streams, I'm getting a gateway timeout when POSTing to /api/v0/pins. My intention is to get a list of streams, so that I can continue inspecting individual streams.

The lack of pagination when returning the result set is surely going to create problems down the line.

# Technical Information

Change /api/v0/pins, or any other endpoint that potentially returns long lists of data to return a paginated set, instead of the entire dataset.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.