jslawless / POPSICL

POPSICL - Probing Over the Physics' Institutions Systematic Cooling Liability
3 stars 0 forks source link

Add lost connection handling #7

Closed lawrenceleejr closed 1 year ago

lawrenceleejr commented 1 year ago

And report to console what's gone wrong, the state of the network connection, etc etc.

Figure out what the timeout mechanism is for the requests to the DB and when it should retry, etc.

Also have a handling where if you've tried everything and it's been some minutes, reboot the device.

Jmgou commented 1 year ago

I've added some connection handling to the main code

Jmgou commented 1 year ago

I rewrote the code so that it now only checks connection if posting to the database is unsuccessful.

lawrenceleejr commented 1 year ago

Nice. Closing the ticket. Do try to reference commit hashes or PRs in your comments.