Skip to content

Commit

Permalink
Docstring updated
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Nov 23, 2017
1 parent 322eba3 commit 04defde
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions uwsgiconf/options/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ def __init__(self, *args, **kwargs):
def set_basic_params(self, queue_size=None, freebind=None, default_socket_type=None):
"""
:param int queue_size: Every socket has an associated queue where request will be put waiting
for a process to became ready to accept them. When this queue is full, requests will be rejected.
Default 100.
.. note:: The maximum value is system/kernel dependent.
:param int queue_size: Also known as a backlog. Every socket has an associated queue
where request will be put waiting for a process to became ready to accept them.
When this queue is full, requests will be rejected.
Default: 100 (an average value chosen by the maximum value allowed by default
by your kernel).
.. note:: The maximum value is system/kernel dependent. Before increasing it you may
need to increase your kernel limit too.
:param bool freebind: Put socket in freebind mode.
Allows binding to non-existent network addresses.
Expand Down

0 comments on commit 04defde

Please sign in to comment.