From 39a6382bbaa072bce76ebb29b1bcc935964346ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 17 Nov 2015 15:30:48 +0100 Subject: [PATCH] misc: give more time for the user to arrive in wcs --- welco/contacts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/welco/contacts/views.py b/welco/contacts/views.py index 4f410e0..9928010 100644 --- a/welco/contacts/views.py +++ b/welco/contacts/views.py @@ -129,7 +129,7 @@ class ContactAdd(FormView): auth=settings.AUTHENTIC_AUTH_TUPLE) user_uuid = authentic_response.json().get('uuid') - for i in range(20): + for i in range(50): try: user_details = get_wcs_data('api/users/%s/' % user_uuid) result = {'data': {'user_id': user_details.get('id')}}