Revision e3709c69 snf-pithos-app/pithos/api/functions.py

b/snf-pithos-app/pithos/api/functions.py
63 63
from pithos.api.settings import (UPDATE_MD5, TRANSLATE_UUIDS,
64 64
                                 SERVICE_TOKEN, ASTAKOS_URL)
65 65

  
66
from pithos.api import settings
67

  
66 68
from pithos.backends.base import (
67 69
    NotAllowedError, QuotaError, ContainerNotEmpty, ItemNotExists,
68 70
    VersionNotExists, ContainerExists)
......
209 211
    marker = request.GET.get('marker')
210 212
    limit = get_int_parameter(request.GET.get('limit'))
211 213
    if not limit:
212
        limit = 10000
214
        limit = settings.API_LIST_LIMIT
213 215

  
214 216
    accounts = request.backend.list_accounts(request.user_uniq, marker, limit)
215 217

  
......
371 373
    marker = request.GET.get('marker')
372 374
    limit = get_int_parameter(request.GET.get('limit'))
373 375
    if not limit:
374
        limit = 10000
376
        limit = settings.API_LIST_LIMIT
375 377

  
376 378
    shared = False
377 379
    if 'shared' in request.GET:
......
639 641
    marker = request.GET.get('marker')
640 642
    limit = get_int_parameter(request.GET.get('limit'))
641 643
    if not limit:
642
        limit = 10000
644
        limit = settings.API_LIST_LIMIT
643 645

  
644 646
    keys = request.GET.get('meta')
645 647
    if keys:

Also available in: Unified diff