misc: give more time for the user to arrive in wcs

This commit is contained in:
Frédéric Péters 2015-11-17 15:30:48 +01:00
parent eecbc602f9
commit 39a6382bba
1 changed files with 1 additions and 1 deletions

View File

@ -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')}}