Skip to content

Commit 8ed142a

Browse files
committed
Add DASH_HOT_RELOAD_MAX_RETRY environment variable.
1 parent f68f031 commit 8ed142a

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
@@ -1078,6 +1078,14 @@ def enable_dev_tools(self,
10781078
10791079
Available dev_tools environment variables:
10801080
1081+
- DASH_DEBUG
1082+
- DASH_SERVE_DEV_BUNDLES
1083+
- DASH_HOT_RELOAD
1084+
- DASH_HOT_RELOAD_INTERVAL
1085+
- DASH_HOT_RELOAD_WATCH_INTERVAL
1086+
- DASH_HOT_RELOAD_MAX_RETRY
1087+
- DASH_SILENCE_ROUTES_LOGGING
1088+
10811089
:param debug: If True, then activate all the tools unless specifically
10821090
disabled by the arguments or by environ variables. Available as
10831091
`DASH_DEBUG` environment variable.
@@ -1097,9 +1105,12 @@ def enable_dev_tools(self,
10971105
`DASH_HOT_RELOAD_WATCH_INTERVAL` environment variable.
10981106
:type dev_tools_hot_reload_watch_interval: float
10991107
:param dev_tools_hot_reload_max_retry: Maximum amount of retries before
1100-
failing and display a pop up. Default 30.
1108+
failing and display a pop up. Default 30. Available as
1109+
`DASH_HOT_RELOAD_MAX_RETRY` environment variable.
1110+
:type dev_tools_hot_reload_max_retry: int
11011111
:param dev_tools_silence_routes_logging: Silence the `werkzeug` logger,
1102-
will remove all routes logging.
1112+
will remove all routes logging. Available as
1113+
`DASH_SILENCE_ROUTES_LOGGING` environment variable.
11031114
:type dev_tools_silence_routes_logging: bool
11041115
:return: debug
11051116
"""

0 commit comments

Comments
 (0)