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

Update backpressure implementation with runtime configurable threshold #4151

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/builtin/runtime_options.pony
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ struct RuntimeOptions
current value. This is a floating point value. Defaults to 2.0.
"""

var ponymsgstilmute: U32 = 1
"""
Number of messages sent to muted/overloaded/under pressure actors before
a muted sending actor gets unscheduled so it cannot continue to overwhelm
muted/overloaded/under pressure actors. Defaults to 1.
"""

var ponynoyield: Bool = false
"""
Do not yield the CPU when no work is available.
Expand Down
Loading