Merge pull request #408 from lbryio/ip/bump-transaction-page-size
doFetchTransactions: bump pageSize to 999999; remove doFetchSupport
This commit is contained in:
commit
41ef1117e5
2 changed files with 2 additions and 21 deletions
20
dist/bundle.es.js
vendored
20
dist/bundle.es.js
vendored
|
@ -2911,9 +2911,8 @@ function doBalanceSubscribe() {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function doFetchTransactions(page = 1, pageSize = 99999) {
|
function doFetchTransactions(page = 1, pageSize = 999999) {
|
||||||
return dispatch => {
|
return dispatch => {
|
||||||
dispatch(doFetchSupports());
|
|
||||||
dispatch({
|
dispatch({
|
||||||
type: FETCH_TRANSACTIONS_STARTED
|
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() {
|
function doFetchUtxoCounts() {
|
||||||
return (() => {
|
return (() => {
|
||||||
var _ref = _asyncToGenerator(function* (dispatch) {
|
var _ref = _asyncToGenerator(function* (dispatch) {
|
||||||
|
|
|
@ -61,9 +61,8 @@ export function doBalanceSubscribe() {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function doFetchTransactions(page = 1, pageSize = 99999) {
|
export function doFetchTransactions(page = 1, pageSize = 999999) {
|
||||||
return dispatch => {
|
return dispatch => {
|
||||||
dispatch(doFetchSupports());
|
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
|
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue