bthrm - Reset retry time if connection successful

master
Martin Boonk 2022-07-02 01:37:11 +02:00
parent cb156b925c
commit 446a56ba6b
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@
return promise.then(()=>{
log("Connection established, waiting for notifications");
characteristicsToCache(characteristics);
clearRetryTimeout();
clearRetryTimeout(true);
}).catch((e) => {
characteristics = [];
log("Error:", e);