Merge pull request #408 from lbryio/ip/bump-transaction-page-size

doFetchTransactions: bump pageSize to 999999; remove doFetchSupport
This commit is contained in:
Thomas Zarebczan 2021-04-26 15:11:24 -04:00 committed by GitHub
commit 41ef1117e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 21 deletions

20
dist/bundle.es.js vendored
View file

@ -2911,9 +2911,8 @@ function doBalanceSubscribe() {
};
}
function doFetchTransactions(page = 1, pageSize = 99999) {
function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: FETCH_TRANSACTIONS_STARTED
});
@ -2995,23 +2994,6 @@ function doUpdateTxoPageParams(params) {
};
}
function doFetchSupports(page = 1, pageSize = 99999) {
return dispatch => {
dispatch({
type: FETCH_SUPPORTS_STARTED
});
lbryProxy.support_list({ page, page_size: pageSize }).then(result => {
dispatch({
type: FETCH_SUPPORTS_COMPLETED,
data: {
supports: result.items
}
});
});
};
}
function doFetchUtxoCounts() {
return (() => {
var _ref = _asyncToGenerator(function* (dispatch) {

View file

@ -61,9 +61,8 @@ export function doBalanceSubscribe() {
};
}
export function doFetchTransactions(page = 1, pageSize = 99999) {
export function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
});