tungus
tungus copied to clipboard
Two client applications on same database.
I am working with BeagleBone. I need to have two services. One is simple web application to make configuration (call i an A) , and other is application that use that configuration (call it a B).
So the problem is when I connect to TingoDB over mongoose/tungus with both applications at the same time. If I am connected at the same time and add something to database from A application, I can see the change in file, but the B application that uses that database cant see that change. I don't know why because every time I need to read from database, in B application, I connect all over again, read, and then disconnect.
When I restart B application it's working fine, and uses the "newest" data. Is there any way to see these changes or read directly from file.