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
The only issue that i see is that at php execution end the connection object is destroyed, therefore on every new request the connection has to be opened again and this forces an arduino restart. I considered serializing a singleton that holds the connection, but things like "database connections" should be avoided for serialization. Is there anyway to keep a connection object in memory ?
Thank you very much
Regards,
The text was updated successfully, but these errors were encountered:
Hi there,
thanks for the script.
The only issue that i see is that at php execution end the connection object is destroyed, therefore on every new request the connection has to be opened again and this forces an arduino restart. I considered serializing a singleton that holds the connection, but things like "database connections" should be avoided for serialization. Is there anyway to keep a connection object in memory ?
Thank you very much
Regards,
The text was updated successfully, but these errors were encountered: