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
Currently mqtt-data-logger' and sensor-dashboard each create and use their own SQLite session, which leads to both processes encountering OperationalError: database lockedfairly regularly,sensor-dashboardis somewhat robust to this(3 backed off retries), butmqtt-data-logger` is not and will simply crash and restart(see this issue).
Possible Solutions:
PREFERRED bring both sets of code into this repository, and have the main function create a single session object that is used to run both apps relevant issue
figure out a way to share context/have one or the other share their session object with the other process.
The text was updated successfully, but these errors were encountered:
Currently
mqtt-data-logger
' andsensor-dashboard
each create and use their ownSQLite
session, which leads to both processes encountering
OperationalError: database lockedfairly regularly,
sensor-dashboardis somewhat robust to this(3 backed off retries), but
mqtt-data-logger` is not and will simply crash and restart(see this issue).Possible Solutions:
PREFERRED bring both sets of code into this repository, and have the main function create a single session object that is used to run both apps relevant issue
figure out a way to share context/have one or the other share their session object with the other process.
The text was updated successfully, but these errors were encountered: