debian-mirror-gitlab/app/assets/javascripts/repository/constants.js

5 lines
279 B
JavaScript
Raw Normal View History

2021-09-04 01:27:46 +05:30
const TREE_PAGE_LIMIT = 1000; // the maximum amount of items per page
export const TREE_PAGE_SIZE = 100; // the amount of items to be fetched per (batch) request
export const TREE_INITIAL_FETCH_COUNT = TREE_PAGE_LIMIT / TREE_PAGE_SIZE; // the amount of (batch) requests to make