aboutsummaryrefslogtreecommitdiff
path: root/rpkid
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-07-16 15:25:54 +0000
committerRob Austein <sra@hactrn.net>2010-07-16 15:25:54 +0000
commite13f06bfd2016df8890613425c367094c6aa697b (patch)
treeb9acc2d1391d00060df4f315480b18cbaf04f7f7 /rpkid
parentd08b5cf1f7ef89c50d5ced7b2b88ee2f59446e37 (diff)
irdbd uses MySQLdb directly, so has to db.ping(reconnect) on its own
to keep SQL connection open. Feh. svn path=/rpkid/irdbd.py; revision=3414
Diffstat (limited to 'rpkid')
-rw-r--r--rpkid/irdbd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/irdbd.py b/rpkid/irdbd.py
index 98b90153..fa694fd2 100644
--- a/rpkid/irdbd.py
+++ b/rpkid/irdbd.py
@@ -119,7 +119,7 @@ handle_dispatch = {
def handler(query, path, cb):
try:
- db.ping()
+ db.ping(True)
r_msg = rpki.left_right.msg.reply()