Skip to content

Commit fb26306

Browse files
committed
Add DASH_HOT_RELOAD_MAX_RETRY environment variable.
1 parent 63033ef commit fb26306

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

dash/_configs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def env_configs():
2626
'DASH_HOT_RELOAD',
2727
'DASH_HOT_RELOAD_INTERVAL',
2828
'DASH_HOT_RELOAD_WATCH_INTERVAL',
29+
'DASH_HOT_RELOAD_MAX_RETRY',
2930
'DASH_SILENCE_ROUTES_LOGGING'
3031
)})
3132

dash/dash.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,14 @@ def enable_dev_tools(self,
10761076
10771077
Available dev_tools environment variables:
10781078
1079+
- DASH_DEBUG
1080+
- DASH_SERVE_DEV_BUNDLES
1081+
- DASH_HOT_RELOAD
1082+
- DASH_HOT_RELOAD_INTERVAL
1083+
- DASH_HOT_RELOAD_WATCH_INTERVAL
1084+
- DASH_HOT_RELOAD_MAX_RETRY
1085+
- DASH_SILENCE_ROUTES_LOGGING
1086+
10791087
:param debug: If True, then activate all the tools unless specifically
10801088
disabled by the arguments or by environ variables. Available as
10811089
`DASH_DEBUG` environment variable.
@@ -1095,9 +1103,12 @@ def enable_dev_tools(self,
10951103
`DASH_HOT_RELOAD_WATCH_INTERVAL` environment variable.
10961104
:type dev_tools_hot_reload_watch_interval: float
10971105
:param dev_tools_hot_reload_max_retry: Maximum amount of retries before
1098-
failing and display a pop up. Default 30.
1106+
failing and display a pop up. Default 30. Available as
1107+
`DASH_HOT_RELOAD_MAX_RETRY` environment variable.
1108+
:type dev_tools_hot_reload_max_retry: int
10991109
:param dev_tools_silence_routes_logging: Silence the `werkzeug` logger,
1100-
will remove all routes logging.
1110+
will remove all routes logging. Available as
1111+
`DASH_SILENCE_ROUTES_LOGGING` environment variable.
11011112
:type dev_tools_silence_routes_logging: bool
11021113
:return: debug
11031114
"""

0 commit comments

Comments
 (0)