

def filter_factory(global_conf, **local_conf):
    '\n    paste.deploy app factory for creating WSGI proxy apps.\n    '
    conf = global_conf.copy()
    conf.update(local_conf)
    account_ratelimit = float(conf.get('account_ratelimit', 0))
    max_sleep_time_seconds = float(conf.get('max_sleep_time_seconds', 60))
    (container_ratelimits, cont_limit_info) = interpret_conf_limits(conf, 'container_ratelimit_', info=1)
    (container_listing_ratelimits, cont_list_limit_info) = interpret_conf_limits(conf, 'container_listing_ratelimit_', info=1)
    register_swift_info('ratelimit', account_ratelimit=account_ratelimit, max_sleep_time_seconds=max_sleep_time_seconds, container_ratelimits=max_sleep_time_seconds, container_listing_ratelimits=cont_list_limit_info)

    def limit_filter(app):
        return RateLimitMiddleware(app, conf)
    return limit_filter

dataset/ETHPy150Open openstack/swift/swift/common/middleware/ratelimit.py filter_factory/VarMisuse@106/222 `cont_limit_info`->`max_sleep_time_seconds`