summaryrefslogtreecommitdiffstats
path: root/archivemodel.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-04-02 11:42:36 +0200
committerArno <arno@disconnect.de>2016-04-02 11:42:36 +0200
commit3f5ee806075e9c68862fd6cba2650b969511c916 (patch)
treeefbefa15ea1b37177fdf2c7a2ad6dcf2116ee149 /archivemodel.cpp
parente683eb842e1db846b05ed4261c839e62862e3c70 (diff)
downloadSheMov-3f5ee806075e9c68862fd6cba2650b969511c916.tar.gz
SheMov-3f5ee806075e9c68862fd6cba2650b969511c916.tar.bz2
SheMov-3f5ee806075e9c68862fd6cba2650b969511c916.zip
Reconnect to database after network failure
It's more difficult than I thought. It seems you need a failed query until libpq notices that the connection is lost. Implement reconnect at the very bottom of the slide time to get it back as soon as possible. I have no idea though what it does to cloned connections. Also, if no slide show is running, it'll never reconnect. It works when I down the database, maybe create a Helper function for this...
Diffstat (limited to 'archivemodel.cpp')
0 files changed, 0 insertions, 0 deletions