Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/i/n/input-lib-HEAD/packages/celery/celery/messaging.py   input-lib(Download)
        ssl = conf.BROKER_USE_SSL
    if connect_timeout is None:
        connect_timeout = conf.BROKER_CONNECTION_TIMEOUT
 
    return BrokerConnection(hostname or conf.BROKER_HOST,
    def _inner(*args, **kwargs):
        connection = kwargs.get("connection")
        timeout = kwargs.get("connect_timeout", conf.BROKER_CONNECTION_TIMEOUT)
        kwargs["connection"] = conn = connection or \
                establish_connection(connect_timeout=timeout)