We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93563a9 + 2a6ee54 commit 9cf284aCopy full SHA for 9cf284a
1 file changed
simpleflaskservice.py
@@ -35,7 +35,7 @@
35
# Set the HEALTH_DELAY
36
HEALTH_DELAY = 0
37
if os.getenv("HEALTH_DELAY") is not None:
38
- HEALTH_DELAY = os.getenv("HEALTH_DELAY")
+ HEALTH_DELAY = float(os.getenv("HEALTH_DELAY")) # ensure the time is convereted into a number sleep() can use
39
40
41
app = Flask(__name__)
0 commit comments