Commit 7d7b6d23 authored by Dominik Charousset's avatar Dominik Charousset

Fix assert

parent 656d0bd2
...@@ -118,7 +118,7 @@ scheduled_actor::scheduled_actor(actor_config& cfg) ...@@ -118,7 +118,7 @@ scheduled_actor::scheduled_actor(actor_config& cfg)
max_batch_delay_ticks_ = sys_cfg.stream_max_batch_delay.count() max_batch_delay_ticks_ = sys_cfg.stream_max_batch_delay.count()
/ interval.count(); / interval.count();
CAF_ASSERT(max_batch_delay_ticks_ > 0); CAF_ASSERT(max_batch_delay_ticks_ > 0);
CAF_ASSERT(sys_cfg.streaming_credit_round_interval_us > 0); CAF_ASSERT(sys_cfg.stream_credit_round_interval.count() > 0);
credit_round_ticks_ = sys_cfg.stream_credit_round_interval.count() credit_round_ticks_ = sys_cfg.stream_credit_round_interval.count()
/ interval.count(); / interval.count();
CAF_ASSERT(credit_round_ticks_ > 0); CAF_ASSERT(credit_round_ticks_ > 0);
......
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