Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the number of pages to 10 (1000 coins) to reduce the load on backend... #255

Merged
merged 2 commits into from
Oct 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cointop/cointop.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ var DefaultSortBy = "rank"
var DefaultPerPage = uint(100)

// DefaultMaxPages ...
var DefaultMaxPages = uint(35)
var DefaultMaxPages = uint(10)

// DefaultColorscheme ...
var DefaultColorscheme = "cointop"
Expand Down
3 changes: 2 additions & 1 deletion docs/content/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ draft: false

## What coins does this support?

This supports any coin supported by the API being used to fetch coin information.
This supports any coin supported by the API being used to fetch coin information. There is, however, a limit on the number of coins that
cointop fetches by default. You can increase this by passing `--max-pages` and `--per-page` arguments on the command line.

## How do I set the API to use?

Expand Down