Skip to content
Snippets Groups Projects
Commit d76dfd25 authored by vjrj's avatar vjrj
Browse files

Fetch nodes hourly

parent 5692d6aa
No related branches found
No related tags found
No related merge requests found
......@@ -472,6 +472,10 @@ class _GinkgoAppState extends State<GinkgoApp> {
logger('clear tx cubit via once');
context.read<MultiWalletTransactionCubit>().clearState();
});
Once.runHourly('fetch_nodes', callback: () {
logger('---------- fetchNodes via once');
_loadNodes();
});
Once.runCustom('fetch_txs', callback: () {
logger('---------- fetchTransactions via once');
// Disabled to check the back development
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment