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

Spin Command trigger should not terminate host when multiple triggers are defined #21

Open
ThorstenHans opened this issue Jun 18, 2024 · 1 comment

Comments

@ThorstenHans
Copy link
Contributor

I created a Spin App with two triggers:

# ...

[[trigger.http]]
route = "/..."
component = "api"

[[trigger.command]]
component = "cleanup"

# ...

Actual Behavior

Upon starting the app with spin up, the cleanup component is invoked. Once the component finished processing, the spin up process is terminated.

Expected Behavior

The spin up host process should stay alive once the cleanup component has finished processing

@karthik2804
Copy link
Contributor

This is more the behavior of spin itself and the trigger plays no part in it.
ref: fermyon/spin#2419
also #7 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants