inference-labs-inc / omron-subnet

Source for the Omron subnet
MIT License
17 stars 13 forks source link

check that the miner is still registered every 10 minutes #10

Closed cxmplex closed 6 months ago

cxmplex commented 6 months ago

Don't do anything if its not registered once the miner is already running besides letting the user know (so we just default to the standard check_registration function), because some people like myself run registration bots that will reregister them after dereg, and I expect the miner to just pick up when it detects its registered (current behavior) again. The code also states the miner should not shut down after its been started unless explicitly caused by the user or an auto update, so this fits that as well. The only time the miner will close is at startup if not registered (current behavior).

to summarize, no behavior changes, only logging changes w/ a periodic registration check.