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

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

src/c/i/circus-HEAD/circus/circusd.py   circus(Download)
    # From here it can also come from the arbiter configuration
    # load the arbiter from config
    arbiter = Arbiter.load_from_config(args.config)
 
    # go ahead and set umask early if it is in the config
    while restart:
        try:
            arbiter = arbiter or Arbiter.load_from_config(args.config)
            future = arbiter.start()
            restart = False

src/c/i/circus-0.10.0/circus/circusd.py   circus(Download)
    # From here it can also come from the arbiter configuration
    # load the arbiter from config
    arbiter = Arbiter.load_from_config(args.config)
 
    pidfile = args.pidfile or arbiter.pidfile or None
    while restart:
        try:
            arbiter = Arbiter.load_from_config(args.config)
            future = arbiter.start()
            restart = False

src/c/i/circus-HEAD/circus/tests/test_reloadconfig.py   circus(Download)
    def _load_base_arbiter(self, name='reload_base'):
        loop = tornado.ioloop.IOLoop.instance()
        a = Arbiter.load_from_config(_CONF[name], loop=loop)
        a.evpub_socket = FakeSocket()
        # initialize watchers

src/c/i/circus-0.10.0/circus/tests/test_reloadconfig.py   circus(Download)
    def _load_base_arbiter(self, name='reload_base'):
        loop = tornado.ioloop.IOLoop.instance()
        a = Arbiter.load_from_config(_CONF[name], loop=loop)
        a.evpub_socket = FakeSocket()
        # initialize watchers

src/c/i/circus-HEAD/circus/tests/test_config.py   circus(Download)
    def test_plugin_priority(self):
        arbiter = Arbiter.load_from_config(_CONF['issue680'])
        watchers = arbiter.iter_watchers()
        self.assertEqual(watchers[0].priority, 30)
        self.assertEqual(watchers[0].name, 'plugin:myplugin')