mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
Improve Refresh load - not refreshing everything frequently
This commit is contained in:
parent
df54a797f5
commit
d61136c399
|
@ -60,15 +60,16 @@ export default new Vuex.Store({
|
||||||
dispatch('ftbot/getBlacklist');
|
dispatch('ftbot/getBlacklist');
|
||||||
},
|
},
|
||||||
refreshSlow({ dispatch }) {
|
refreshSlow({ dispatch }) {
|
||||||
|
// Refresh data that's needed "from time to time"
|
||||||
// dispatch('ftbot/getDaily');
|
// dispatch('ftbot/getDaily');
|
||||||
dispatch('ftbot/getPerformance');
|
dispatch('ftbot/getPerformance');
|
||||||
dispatch('ftbot/getProfit');
|
dispatch('ftbot/getProfit');
|
||||||
|
dispatch('ftbot/getTrades');
|
||||||
},
|
},
|
||||||
refreshFrequent({ dispatch }) {
|
refreshFrequent({ dispatch }) {
|
||||||
// Refresh all data
|
// Refresh data that's needed in near realtime
|
||||||
dispatch('ftbot/getOpenTrades');
|
dispatch('ftbot/getOpenTrades');
|
||||||
dispatch('ftbot/getState');
|
dispatch('ftbot/getState');
|
||||||
dispatch('ftbot/getTrades');
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user