vertcoin-project / one-click-miner-vnext

One Click Miner for Vertcoin
https://vertcoin.org/
MIT License
185 stars 138 forks source link

Move pool fee api call to separate interval #552

Closed steveocrypto closed 1 year ago

steveocrypto commented 1 year ago

The current frontend update calls the backend GetPoolFee() every 5 seconds. This results in a large influx of API calls to the pool API endpoint.

This PR moves the GetPoolFee() to it's own 10 minute interval.

steveocrypto commented 1 year ago

It was recommended to implement a time check (like p2pool.go) instead of modifying the frontend interval. Closing PR.