10 Commits

Author SHA1 Message Date
Ayanami
e41a08789a
Added configurable user-agent for axios
Will use `mempool/v${backendInfo.getBackendInfo().version}` for default
2022-06-07 04:16:36 +09:00
Ayanami
9d5bbf1f44
Handle Error with basic retry while syncing external assets ( Price Data )
+ Removed unused External Assets value

+ Make static URL dynamic

+ Added config options for syncing pool data

+ Added retry interval & max retry
2022-06-07 04:16:36 +09:00
nymkappa
e590759b7b
Don't try to run pools parser if db is not enabled 2022-05-27 10:31:49 +02:00
Ayanami
0b351b9fcb pools-updater: Support secure Tor connection to sync data with Github
Use Axios instead of native https
2022-05-18 11:20:28 +09:00
softsimon
6919393e6c
Refactored the DB class into a regular singleton class. 2022-04-13 17:38:42 +04:00
nymkappa
6fb0571b06
Refactor database pool use 2022-04-13 21:46:39 +09:00
nymkappa
bee0dbd400
Cleanup mining related backend logs 2022-04-13 16:30:49 +09:00
nymkappa
e451b40084
Catch http request error - Fix 24h retry period 2022-04-07 16:14:43 +09:00
nymkappa
2d29b9ef89
Upon error, re-run the PoolsUpdater within 24h instead of 7d 2022-04-07 14:51:23 +09:00
nymkappa
1969f2a275
Use github api to fetch and update the pools database, once a week 2022-04-07 14:37:16 +09:00