xmlrpc daemon reliability, RT#40853
authorIvan Kohler <ivan@freeside.biz>
Thu, 10 Mar 2016 18:02:05 +0000 (10:02 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 10 Mar 2016 18:02:05 +0000 (10:02 -0800)
FS/bin/freeside-xmlrpcd

index 724c5ad..e4e0334 100644 (file)
@@ -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;
   }
 );