Skip to content

Commit 0b7112a

Browse files
authored
Remove obsolete wsgi_restart configuration option (#122)
I believe this was used at some point to automatically restart the development server when the LNT sources were changed. However, this configuration option doesn't appear to be hooked up anywhere, so this is effectively dead code. Furthermore, Werzeug supports the `use_reloader=True` argument that could be used when we start a development server if we wanted this functionality (which we don't need at the moment).
1 parent 36fd2b5 commit 0b7112a

File tree

6 files changed

+0
-143
lines changed

6 files changed

+0
-143
lines changed

lnt/lnttool/create.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@
5858
# reports to different email address.
5959
'to' : [(".*", None)],
6060
}
61-
62-
# Enable automatic restart using the wsgi_restart module; this should be off in
63-
# a production environment.
64-
wsgi_restart = False
6561
"""
6662

6763
kWSGITemplate = """\

lnt/util/wsgi_restart.py

Lines changed: 0 additions & 123 deletions
This file was deleted.

tests/SharedInputs/SmallInstance/lnt.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,3 @@ nt_emailer = {
5050
# reports to different email address.
5151
'to' : [(".*", None)],
5252
}
53-
54-
# Enable automatic restart using the wsgi_restart module; this should be off in
55-
# a production environment.
56-
wsgi_restart = False

tests/runtest/Inputs/rerun_server_instance/lnt.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,3 @@ nt_emailer = {
4646
# reports to different email address.
4747
'to' : [(".*", None)],
4848
}
49-
50-
# Enable automatic restart using the wsgi_restart module; this should be off in
51-
# a production environment.
52-
wsgi_restart = False

tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,4 @@ nt_emailer = {
4747
'to' : [(".*", None)],
4848
}
4949

50-
# Enable automatic restart using the wsgi_restart module; this should be off in
51-
# a production environment.
52-
wsgi_restart = False
53-
5450
blacklist = 'blacklist'

tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,3 @@ nt_emailer = {
4646
# reports to different email address.
4747
'to' : [(".*", None)],
4848
}
49-
50-
# Enable automatic restart using the wsgi_restart module; this should be off in
51-
# a production environment.
52-
wsgi_restart = False

0 commit comments

Comments
 (0)