adafruit / adafruit/Adafruit_CircuitPython_MiniMQTT

CP Minimqtt: possible issue with connect() retry always throwing an exception after one failed attempt

Open
#256 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
52
PR merge metrics
No merged PRs in 30d

Description

For full details, please see this Forum thread:
https://forums.adafruit.com/viewtopic.php?p=1083496#p1083496

Short version:
Note that _reconnect_attempts_max value is initialized by the constructor to 5, from by the default value for connect_retries.

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Forum thread linked in the issue and trace connect() retry behavior, especially how the constructor initializes _reconnect_attempts_max from connect_retries. Reproduce the reported case where one failed attempt causes an exception, then verify that retry behavior matches the configured maximum.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.