summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-10 10:02:20 -0800
committerIvan Kohler <ivan@freeside.biz>2016-03-10 10:02:20 -0800
commit03365ccd166d913a74701828fd81693319482476 (patch)
tree3b28ef679f6376c5fa2c2591a0e5ba70ff945680
parent277368d4a71544a8cc68e7e534675b594b872fad (diff)
xmlrpc daemon reliability, RT#40853
-rwxr-xr-xFS/bin/freeside-selfservice-xmlrpcd2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/bin/freeside-selfservice-xmlrpcd b/FS/bin/freeside-selfservice-xmlrpcd
index e9df40735..7e373a0c3 100755
--- a/FS/bin/freeside-selfservice-xmlrpcd
+++ b/FS/bin/freeside-selfservice-xmlrpcd
@@ -44,6 +44,8 @@ daemon_run( 'port' => 8080, 'handle_request' =>
$soap->request($request);
$soap->handle;
+ $FS::UID::dbh->commit() if $FS::UID::dbh; #XXX handle commit error
+
return $soap->response;
}
);