Skip to content

Commit cea28c0

Browse files
authored
Merge pull request #1968 from Andry925/fix/ble-sends-many-requests
Fixed connect to device requests spamming
2 parents 2a58bc8 + ae6979c commit cea28c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thingsboard_gateway/connectors/ble/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async def connect_to_device(self):
275275
while not self.stopped and not self.client.is_connected:
276276
await self._connect_to_device()
277277

278-
sleep(.2)
278+
sleep(1.0)
279279

280280
async def run_client(self):
281281
if not self.adv_only or self.show_map:

0 commit comments

Comments
 (0)