You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The system occasionally fails to process rapid consecutive requests from the UI, particularly evident when rapidly clicking the pouring button or sending update and command requests almost simultaneously. This issue becomes critical if the 'stop' command request gets blocked, leading to uncontrolled operation.
Potential Solutions:
Implement a queue system for incoming requests to ensure sequential processing.
Modify connection handling to allow processing of multiple requests simultaneously.
Explore using lower-level parts of the networking library for better concurrent client management.
As a temporary fix, ensure the UI repeatedly sends the 'stop' command until the server acknowledges. Implemented in this PR and fix this issue on client side.
Code Location:
The request processing code can be found in the RemoteControl.cpp file, specifically within the process() method.
Relevant Links:
Discussion on handling multiple TCP clients on Arduino: Arduino Forum
Challenges with multiple client connections on Arduino WiFi shield: Arduino Forum
The text was updated successfully, but these errors were encountered:
Description:
The system occasionally fails to process rapid consecutive requests from the UI, particularly evident when rapidly clicking the pouring button or sending update and command requests almost simultaneously. This issue becomes critical if the 'stop' command request gets blocked, leading to uncontrolled operation.
Potential Solutions:
As a temporary fix, ensure the UI repeatedly sends the 'stop' command until the server acknowledges.Implemented in this PR and fix this issue on client side.Code Location:
The request processing code can be found in the
RemoteControl.cpp
file, specifically within theprocess()
method.Relevant Links:
The text was updated successfully, but these errors were encountered: