Skip to content

Commit

Permalink
Update Sleep.py
Browse files Browse the repository at this point in the history
change default sleep time to 15s
  • Loading branch information
jgstew authored May 8, 2024
1 parent 2b0f11b commit 0e07c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SharedProcessors/Sleep.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Sleep(Processor): # pylint: disable=invalid-name
input_variables = {
"sleep_seconds": {
"required": False,
"default": 2,
"default": 15,
"description": "seconds to sleep",
},
}
Expand All @@ -34,7 +34,7 @@ class Sleep(Processor): # pylint: disable=invalid-name
def main(self):
"""Execution starts here"""

sleep_seconds = int(self.env.get("sleep_seconds", 2))
sleep_seconds = int(self.env.get("sleep_seconds", 15))

self.output(f"Pausing Execution for {sleep_seconds} seconds")

Expand Down

0 comments on commit 0e07c13

Please sign in to comment.