def __init__(self, host=None, port=None, debug=False, workers=None,
                 worker_class=None, timeout=None, loglevel='info',
                 preload=False, max_requests=0, max_requests_jitter=0):

        options = {
            'bind': '%s:%s' % (host, port),
            'workers': workers,
            'worker_class': worker_class,
            'timeout': timeout,
            'proc_name': 'NSoT',
            'access_logfile': '-',  # 'accesslog': '-',
            'errorlog': '-',
            'loglevel': loglevel,
            'limit_request_line': 0,
            'preload_app': preload,
            'max_requests': max_requests,
            'max_requests_jitter': max_requests_jitter,
        }

        self.options = options

        print(
            'Running service: %r, num workers: %s, worker timeout: %s' % (
                self.name, self.options['workers'], self.options['timeout']
            )
        )
dataset/ETHPy150Open dropbox/nsot/nsot/services/http.py/NsotHTTPServer.__init__/original