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 instance limit to Config #2593

Merged
merged 2 commits into from
Jan 21, 2021

Conversation

alexcrichton
Copy link
Member

This commit adds a new parameter to Config which limits the number of
instances that can be created within a store connected to that Config.
The intention here is to provide a default safeguard against
module-linking modules that recursively create too many instances.

This commit adds a new parameter to `Config` which limits the number of
instances that can be created within a store connected to that `Config`.
The intention here is to provide a default safeguard against
module-linking modules that recursively create too many instances.
@github-actions github-actions bot added wasmtime:api Related to the API of the `wasmtime` crate itself wasmtime:c-api Issues pertaining to the C API. labels Jan 21, 2021
crates/c-api/include/wasmtime.h Outdated Show resolved Hide resolved
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasmtime:api", "wasmtime:c-api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:api, wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Co-authored-by: Peter Huene <peter@huene.dev>
@alexcrichton alexcrichton merged commit 8748cf5 into bytecodealliance:main Jan 21, 2021
@alexcrichton alexcrichton deleted the instance-limit branch January 21, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself wasmtime:c-api Issues pertaining to the C API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants