File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2685,6 +2685,13 @@ options:
26852685 events.
26862686 --inactive-conn-cleanup-timeout INACTIVE_CONN_CLEANUP_TIMEOUT
26872687 Time after which inactive works must be cleaned up.
2688+ Increase this value if your backend services are slow
2689+ to response or when proxy.py is handling a high
2690+ volume. When running proxy.py on Google Cloud (GCP)
2691+ you may see 'backend_connection_closed_before_data_sen
2692+ t_to_client', with curl clients you may see 'Empty
2693+ reply from server' error when '--inactive-conn-
2694+ cleanup-timeout' value is low for your use-case.
26882695 Default 1 seconds
26892696 --enable-proxy-protocol
26902697 Default: False. If used, will enable proxy protocol.
Original file line number Diff line number Diff line change 4141proxy_flags .add_argument (
4242 "--inactive-conn-cleanup-timeout" ,
4343 default = DEFAULT_INACTIVE_CONN_CLEANUP_TIMEOUT ,
44- help = "Time after which inactive works must be cleaned up. Default {0} seconds" .format (
44+ help = "Time after which inactive works must be cleaned up. "
45+ + "Increase this value if your backend services are slow to response "
46+ + "or when proxy.py is handling a high volume. When running proxy.py on Google Cloud (GCP) "
47+ + "you may see 'backend_connection_closed_before_data_sent_to_client', with curl clients "
48+ + "you may see 'Empty reply from server' error when '--inactive-conn-cleanup-timeout' "
49+ + "value is low for your use-case. Default {0} seconds" .format (
4550 DEFAULT_INACTIVE_CONN_CLEANUP_TIMEOUT
4651 ),
4752)
You can’t perform that action at this time.
0 commit comments