summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-10 10:02:05 -0800
committerIvan Kohler <ivan@freeside.biz>2016-03-10 10:02:05 -0800
commit277368d4a71544a8cc68e7e534675b594b872fad (patch)
tree73855af1c96e56ccae8368501ecf49ff14846014 /FS/bin
parent6fda8fa683ab221ab719adaacf994056633ca342 (diff)
xmlrpc daemon reliability, RT#40853
Diffstat (limited to 'FS/bin')
-rw-r--r--FS/bin/freeside-xmlrpcd2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/bin/freeside-xmlrpcd b/FS/bin/freeside-xmlrpcd
index 724c5adb3..e4e03345a 100644
--- a/FS/bin/freeside-xmlrpcd
+++ b/FS/bin/freeside-xmlrpcd
@@ -40,6 +40,8 @@ daemon_run( 'port' => 8008, 'handle_request' =>
$soap->request($request);
$soap->handle;
+ $FS::UID::dbh->commit() if $FS::UID::dbh; #XXX handle commit error
+
return $soap->response;
}
);