예제 #1
0
 def setUp(self):
     self.connection = poliglo.get_connection(self.config.get('all'))
     self.connection.flushall()
def main():
    config = get_config(POLIGLO_SERVER_URL, 'all')
    connection = get_connection(config)
    default_main(POLIGLO_SERVER_URL, WORKER_TYPE, process, {'connection': connection})