[API] Retry request on galera deadlocks

It is possible in a multi-API situation for galera deadlocks to still happen.
This patch will trigger a retry in these scenarios.

Change-Id: I3c62a9a39f6dec921dee8106b7a3a98cf1095f6d
This commit is contained in:
Andrew Hutchings
2013-07-10 09:54:35 +01:00
parent 26c7e95a71
commit 7729f83c2e
10 changed files with 132 additions and 30 deletions

View File

@@ -14,10 +14,10 @@
# under the License.
from pecan import response
from pecan.rest import RestController
from libra.api.library.libra_rest_controller import LibraController
class ConnectionThrottleController(RestController):
class ConnectionThrottleController(LibraController):
"""functions for /loadbalancers/{loadBalancerId}/connectionthrottle/*
routing"""