mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
implement pagination
This commit is contained in:
parent
d014358028
commit
4e4f260190
5 changed files with 67 additions and 36 deletions
|
|
@ -14,7 +14,7 @@ pub struct Config {
|
|||
|
||||
/// Default listing limit
|
||||
#[arg(long, default_value_t = 50)]
|
||||
pub limit: usize,
|
||||
pub list_limit: usize,
|
||||
|
||||
/// Default capacity (estimated torrents in `storage`)
|
||||
#[arg(long, default_value_t = 1000)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue