From 3df63469e623ba23057679f2aff6e61bd1b57a64 Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Mon, 18 Jan 2021 11:57:49 -0800 Subject: [PATCH] retry --- lemur/plugins/lemur_entrust/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lemur/plugins/lemur_entrust/plugin.py b/lemur/plugins/lemur_entrust/plugin.py index bc7a8689..422bd4fb 100644 --- a/lemur/plugins/lemur_entrust/plugin.py +++ b/lemur/plugins/lemur_entrust/plugin.py @@ -87,6 +87,7 @@ def process_options(options, client_id): return data +@retry(stop_max_attempt_number=5, wait_fixed=1000) def get_client_id(my_response, organization): """ Helper function for parsing responses from the Entrust API.