cmacma7 / bn

Broadcast network
3 stars 7 forks source link

Offline operation is slow, cause by network fail take 1 to 2 second per call #1880

Open cmacma7 opened 5 years ago

cmacma7 commented 5 years ago

Should solve by mark the network is disconnected in sendDB and getDB, so that lower level can just return right away if network is disconnected.
We should detect network and set a reasonable time out for the disconnect period.

cmacma7 commented 5 years ago

Added this feature, should keep tracking