Open zack-w opened 6 years ago
doing a new database request for the admin authorization token for each API request is not needed. as the authorization token will not change once the miner is booted up, this should be cached locally
https://github.com/opoll/opollminer/blob/a3bdc33d90c91adb020ae5ecd7b69f3e1992e876/lib/admin/middleware.js#L20
doing a new database request for the admin authorization token for each API request is not needed. as the authorization token will not change once the miner is booted up, this should be cached locally
https://github.com/opoll/opollminer/blob/a3bdc33d90c91adb020ae5ecd7b69f3e1992e876/lib/admin/middleware.js#L20