Skip to content

Printer issue analysis fix#88

Open
arpal7 wants to merge 8 commits intomainfrom
printerIssueAnalysisFix
Open

Printer issue analysis fix#88
arpal7 wants to merge 8 commits intomainfrom
printerIssueAnalysisFix

Conversation

@arpal7
Copy link
Copy Markdown
Contributor

@arpal7 arpal7 commented Mar 27, 2026

Description of changes:

Description of testing:

Please make sure the following changes have been made before creating a pull request.

Update Description

  • Change tested on actual device
  • Changes tested for simulator
  • Existing device functionality is working fine
  • Unit Tests Written for Code Changes, and Verified that Coverage is 100% for Modified Files(with the exception of ATM devices)

log.failure("Inner timeout recovery: reconnecting (attempt " + attempt + ")", 17, null);
boolean success = connect();
if (success) {
log.failure("Inner timeout recovery: printer reconnected successfully", 5, null);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log.success?

recoveryThread.setDaemon(true);
recoveryThread.start();
} else {
log.failure("Inner timeout recovery: forceUnlock recovery already in progress — skipping", 17, null);
Copy link
Copy Markdown
Collaborator

@AwesomestChris AwesomestChris Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could view this as more of a status notification since the noted behavior is in progress

return;
}
if (!recoveryInProgress.compareAndSet(false, true)) {
log.failure("forceUnlock: inner timeout recovery already in progress — skipping duplicate disconnect", 5, null);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More of a status and less of an error imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants