Skip to content

Commit

Permalink
wait_all
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolomeychenko committed Sep 3, 2020
1 parent 23f5c8a commit d13a288
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debug.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PYTHONUNBUFFERED=1
modal.state.teamId=86
modal.state.workspaceId=146
modal.state.length=10
TASK_ID=281
TASK_ID=325
SERVER_ADDRESS="put your value here in secret_debug.env"
API_TOKEN="put your value here in secret_debug.env"
AGENT_TOKEN="put your value here in secret_debug.env"
Expand Down
8 changes: 7 additions & 1 deletion src/my_main_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,17 @@ def main():
"state": None,
"context": None,
"command": "preprocessing",
}
}#,
# {
# "state": None,
# "context": None,
# "command": "stop",
# }
]

# Run application service
my_app.run(data=data, state=state, initial_events=initial_events)
my_app.wait_all()


if __name__ == "__main__":
Expand Down

0 comments on commit d13a288

Please sign in to comment.