Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to delay running scenarios after application starts #25

Open
ohuu opened this issue Jun 4, 2024 · 0 comments
Open

Add an option to delay running scenarios after application starts #25

ohuu opened this issue Jun 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ohuu
Copy link
Collaborator

ohuu commented Jun 4, 2024

Currently Cardamon will immediately start the metric loggers and scenarios after running all the processes to start the application. Some of these processes may require a minimum start/warm up time (e.g. docker containers may need some time to start up).

We should add an option to the processes in the config for specifying a minimum wait time after starting a processes before continuing.

Proposed Change

[[processes]]
type = "baremetal"
name = "server"      # Required
command = "yarn dev" # Required
wait = 5      # <---- number of seconds to wait after starting this process
@anewmandev anewmandev added the enhancement New feature or request label Aug 19, 2024
@anewmandev anewmandev assigned anewmandev and ohuu and unassigned anewmandev Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants