MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions698 in github.com/benoitc/gunicorn

↓ 38 callersMethodset
(self, name, value)
gunicorn/config.py:74
↓ 35 callersMethodwrite
(self, arg)
gunicorn/http/wsgi.py:325
↓ 34 callersFunctionuri
(data)
tests/treq.py:20
↓ 28 callersMethodget
(self)
gunicorn/config.py:308
↓ 27 callersMethodread
(self, size=None)
gunicorn/http/body.py:202
↓ 17 callersMethodinfo
(self, msg, *args, **kwargs)
gunicorn/glogging.py:263
↓ 17 callersMethodsleep
\ Sleep until PIPE is readable or we timeout. A readable PIPE means a signal occurred.
gunicorn/arbiter.py:351
↓ 16 callersMethodclose
(self)
gunicorn/sock.py:62
↓ 16 callersMethodinfo
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:58
↓ 15 callersFunctionvalidate_callable
(arity)
gunicorn/config.py:436
↓ 13 callersMethodfileno
(self)
gunicorn/workers/workertmp.py:51
↓ 12 callersMethodclose
(self)
gunicorn/workers/gthread.py:62
↓ 11 callersMethoddebug
(self, msg, *args, **kwargs)
gunicorn/glogging.py:266
↓ 11 callersMethodstop
\ Stop workers :attr graceful: boolean, If True (the default) workers will be killed gracefully (ie. trying to wait for the
gunicorn/arbiter.py:370
↓ 9 callersMethodexception
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:53
↓ 9 callersMethodreadline
(self, size=None)
gunicorn/http/body.py:226
↓ 8 callersMethoddebug
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:62
↓ 8 callersMethodget
(self)
examples/frameworks/tornadoapp.py:17
↓ 7 callersMethodunlink
delete pidfile
gunicorn/pidfile.py:52
↓ 6 callersMethodaccess
Measure request duration request_time is a datetime.timedelta
gunicorn/instrument/statsd.py:91
↓ 6 callersMethodcreate
(self, pid)
gunicorn/pidfile.py:22
↓ 6 callersMethodget
(self)
tests/test_config.py:102
↓ 6 callersMethodincrement
(self, name, value, sampling_rate=1.0)
gunicorn/instrument/statsd.py:109
↓ 6 callersMethodnotify
\ Your worker subclass must arrange to have this method called once every ``self.timeout`` seconds. If you fail in accomplishing
gunicorn/workers/base.py:69
↓ 6 callersMethodseek
(self, offset, whence=0)
tests/t.py:66
↓ 6 callersMethodstart
\ Initialize the arbiter. Start listening and set pidfile if needed.
gunicorn/arbiter.py:120
↓ 6 callersMethodvalidate
Validate pidfile and make it stale if needed
gunicorn/pidfile.py:63
↓ 5 callersMethodatoms
Gets atoms for log formating.
gunicorn/glogging.py:277
↓ 5 callersFunctioncfg_file
()
tests/test_config.py:25
↓ 5 callersMethodnow
return date in Apache Common Log Format
gunicorn/glogging.py:353
↓ 5 callersMethodread
(self, size=None)
gunicorn/http/unreader.py:20
↓ 5 callersMethodreexec
\ Relaunch the master and workers.
gunicorn/arbiter.py:397
↓ 5 callersMethodunread
(self, data)
gunicorn/http/unreader.py:52
↓ 5 callersFunctionvalidate_string
(val)
gunicorn/config.py:388
↓ 5 callersMethodwait
(self, timeout)
gunicorn/workers/sync.py:33
↓ 5 callersMethodwarning
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:49
↓ 5 callersMethodwsgi
(self)
gunicorn/app/base.py:65
↓ 4 callersMethod_sock_send
(self, msg)
gunicorn/instrument/statsd.py:118
↓ 4 callersMethodcopy
(self)
gunicorn/config.py:305
↓ 4 callersMethoderror
(self, msg, *args, **kwargs)
gunicorn/glogging.py:257
↓ 4 callersFunctionfunc
(a, b)
tests/test_config.py:164
↓ 4 callersMethodkill_worker
\ Kill a worker :attr pid: int, worker pid :attr sig: `signal.SIG*` value
gunicorn/arbiter.py:634
↓ 4 callersMethodmanage_workers
\ Maintain the number of workers by spawning or killing as required.
gunicorn/arbiter.py:545
↓ 4 callersMethodpost_request
(worker, req, environ, resp)
gunicorn/config.py:1818
↓ 4 callersMethodrecv
(self, length=None)
tests/t.py:52
↓ 4 callersMethodreopen_files
(self)
gunicorn/glogging.py:357
↓ 4 callersMethodsend_headers
(self)
gunicorn/http/wsgi.py:315
↓ 4 callersMethodshould_close
(self)
gunicorn/http/wsgi.py:212
↓ 3 callersMethodaccept
(self, listener)
gunicorn/workers/sync.py:27
↓ 3 callersMethodbind
(self, sock)
gunicorn/sock.py:59
↓ 3 callersFunctionbytes_to_str
(b)
gunicorn/util.py:632
↓ 3 callersMethodchdir
(self)
gunicorn/app/base.py:84
↓ 3 callersMethodclose_on_exec
(self)
gunicorn/glogging.py:380
↓ 3 callersMethodforce_close
(self)
gunicorn/http/wsgi.py:209
↓ 3 callersMethodhandle_error
(self, req, client, addr, exc)
gunicorn/workers/base.py:205
↓ 3 callersMethodinit_process
\ If you override this method in a subclass, the last statement in the function should be to call this method with super().ini
gunicorn/workers/base.py:85
↓ 3 callersMethodkill_workers
\ Kill all workers with the signal `sig` :attr sig: `signal.SIG*` value
gunicorn/arbiter.py:625
↓ 3 callersMethodpre_request
(worker, req)
gunicorn/config.py:1801
↓ 3 callersMethodreadlines
(self, size=None)
gunicorn/http/body.py:251
↓ 3 callersMethodrun
(self)
gunicorn/app/base.py:202
↓ 3 callersMethodspawn_worker
(self)
gunicorn/arbiter.py:567
↓ 3 callersMethodwakeup
\ Wake up the arbiter by writing to the PIPE
gunicorn/arbiter.py:330
↓ 3 callersMethodwarning
(self, msg, *args, **kwargs)
gunicorn/glogging.py:260
↓ 3 callersMethodworker_int
(worker)
gunicorn/config.py:1747
↓ 3 callersMethodwrite_file
(self, respiter)
gunicorn/http/wsgi.py:384
↓ 2 callersMethod__init__
(self)
gunicorn/http/unreader.py:14
↓ 2 callersMethod__init__
(self, args=None)
tests/test_config.py:36
↓ 2 callersFunction_sock_type
(addr)
gunicorn/sock.py:129
↓ 2 callersFunction_test_ssl_version
(options, expected)
tests/test_config.py:467
↓ 2 callersFunctionassert_readline
(payload, size, expected)
tests/test_http.py:15
↓ 2 callersFunctionbase_environ
(cfg)
gunicorn/http/wsgi.py:68
↓ 2 callersFunctioncfg_module
()
tests/test_config.py:21
↓ 2 callersMethodcheck
(self, cfg, sender, sizer, matcher)
tests/treq.py:246
↓ 2 callersFunctioncheck_environ
A context manager that asserts post-conditions of ``listen_fds`` at exit. This helper is used to ease checking of the test post-conditions f
tests/test_systemd.py:16
↓ 2 callersMethodcritical
(self, msg, *args, **kwargs)
gunicorn/instrument/statsd.py:41
↓ 2 callersFunctiondefault_environ
(req, sock, cfg)
gunicorn/http/wsgi.py:81
↓ 2 callersMethoddefault_headers
(self)
gunicorn/http/wsgi.py:295
↓ 2 callersMethoddo_load_config
Loads the configuration
gunicorn/app/base.py:30
↓ 2 callersMethodencode_hybi
Encode a HyBi style WebSocket frame. Optional opcode: 0x0 - continuation 0x1 - text frame (base64 encode buf)
examples/websocket/gevent_websocket.py:159
↓ 2 callersMethodencode_hybi
Encode a HyBi style WebSocket frame. Optional opcode: 0x0 - continuation 0x1 - text frame (base64 encode buf)
examples/websocket/websocket.py:160
↓ 2 callersMethodenqueue_req
(self, conn)
gunicorn/workers/gthread.py:111
↓ 2 callersMethodget_data
(self, unreader, buf)
gunicorn/http/body.py:102
↓ 2 callersMethodget_data
(self, unreader, buf, stop=False)
gunicorn/http/message.py:182
↓ 2 callersFunctionget_default_config_file
()
gunicorn/config.py:535
↓ 2 callersMethodgetsize
(self, size)
gunicorn/http/body.py:193
↓ 2 callersMethodhandle_request
(self)
gunicorn/workers/gtornado.py:49
↓ 2 callersFunctionhas_logging_config
(config_file)
gunicorn/app/pasterapp.py:27
↓ 2 callersMethodhistogram
(self, name, value)
gunicorn/instrument/statsd.py:115
↓ 2 callersMethodis_chunked
(self)
gunicorn/http/wsgi.py:278
↓ 2 callersMethodis_parent_alive
(self)
gunicorn/workers/sync.py:52
↓ 2 callersMethodload
(self)
gunicorn/app/base.py:49
↓ 2 callersMethodload_config_from_file
(self, filename)
gunicorn/app/base.py:152
↓ 2 callersMethodload_default_config
(self)
gunicorn/app/base.py:42
↓ 2 callersMethodload_wsgi
(self)
gunicorn/workers/base.py:144
↓ 2 callersMethodlog
Log a given statistic if metric, value and type are present
gunicorn/instrument/statsd.py:65
↓ 2 callersFunctionloggers
get list of all loggers
gunicorn/glogging.py:90
↓ 2 callersMethodnworkers_changed
(server, new_value, old_value)
gunicorn/config.py:1871
↓ 2 callersMethodparse
(self, unreader)
gunicorn/http/message.py:58
↓ 2 callersMethodparse_headers
(self, data)
gunicorn/http/message.py:61
↓ 2 callersMethodread
(self, size)
gunicorn/http/body.py:114
next →1–100 of 698, ranked by callers