'Implementation specific setup. This method is called at the very end
by the constructor to allow a specific implementation to modify
existing attributes or add its own attributes.
:param conf: WSGI configuration parameter'

def setup(self, conf):

    self._diskfile_router = DiskFileRouter(conf, self.logger)
    if ('replication_semaphore' in conf):
        self.replication_semaphore = conf['replication_semaphore'][0]
    else:
        self.replication_semaphore = None
    self.replication_failure_threshold = int((conf.get('replication_failure_threshold') or 100))
    self.replication_failure_ratio = float((conf.get('replication_failure_ratio') or 1.0))
    servers_per_port = int((conf.get('servers_per_port', '0') or 0))
    if servers_per_port:
        default_tpool_size = 1
    else:
        default_tpool_size = None
    tpool_size = config_auto_int_value(conf.get('eventlet_tpool_num_threads'), default_tpool_size)
    if tpool_size:
        tpool.set_num_threads(tpool_size)
