Commit 9826298b authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #1141

parents 7ad30c1c 8dcd8785
......@@ -14,6 +14,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- When using `CAF_MAIN`, CAF now looks for the correct default config file name,
i.e., `caf-application.conf`.
### Fixed
- Setting an invalid credit policy no longer results in a segfault (#1140).
## [0.18.0-rc.1] - 2020-09-09
### Added
......
......@@ -78,9 +78,11 @@ public:
controller_ = detail::token_based_credit_controller::make(self(), in);
else if (*str == "size-based")
set_default();
else
else {
set_default();
CAF_LOG_WARNING("unrecognized credit policy:"
<< *str << "(falling back to 'size-based')");
}
} else {
set_default();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment