Home » U++ Library support » U++ SQL » SQL statements timeout in Linux (bug?)
Re: SQL statements timeout in Linux (bug?) [message #50432 is a reply to message #50414] |
Tue, 30 October 2018 13:05 |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
Hi there,
I performed some further tests and I can confirm that there are some glitches in the Postgresql management.
As described before, I have abnormally long waiting time when I try to save or retrieve data from Postgresql. This usually happens with a wifi connection: if the connection is down for some reason, my application hangs for a very long time (in Windows about 20 seconds, in Linux several minutes) before getting back with an error. For my test, I physically unplugged the network cable.
So, I performed a test using libpqxx (official C++ client API for PostgreSQL) and the result is that the library notices immediately that the network is down issuing an error.
Someone does know a workaround for this problem?
[Updated on: Tue, 30 October 2018 13:06] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 17 08:04:36 CEST 2024
Total time taken to generate the page: 0.01621 seconds
|