Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
970b1090
Commit
970b1090
authored
Aug 11, 2018
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up pending message config option names
parent
d7656ae3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
libcaf_core/caf/actor_system_config.hpp
libcaf_core/caf/actor_system_config.hpp
+1
-1
libcaf_core/caf/defaults.hpp
libcaf_core/caf/defaults.hpp
+1
-1
libcaf_core/src/actor_system_config.cpp
libcaf_core/src/actor_system_config.cpp
+2
-2
libcaf_core/src/defaults.cpp
libcaf_core/src/defaults.cpp
+1
-1
libcaf_io/src/basp_broker.cpp
libcaf_io/src/basp_broker.cpp
+2
-2
No files found.
libcaf_core/caf/actor_system_config.hpp
View file @
970b1090
...
...
@@ -320,7 +320,7 @@ public:
bool
middleman_detach_utility_actors
CAF_DEPRECATED
;
bool
middleman_detach_multiplexer
CAF_DEPRECATED
;
size_t
middleman_cached_udp_buffers
CAF_DEPRECATED
;
size_t
middleman_max_pending_m
sg
s
CAF_DEPRECATED
;
size_t
middleman_max_pending_m
essage
s
CAF_DEPRECATED
;
// -- OpenCL parameters ------------------------------------------------------
...
...
libcaf_core/caf/defaults.hpp
View file @
970b1090
...
...
@@ -78,7 +78,7 @@ extern const atom_value network_backend;
extern
const
size_t
max_consecutive_reads
;
extern
const
size_t
heartbeat_interval
;
extern
const
size_t
cached_udp_buffers
;
extern
const
size_t
max_pending_m
sg
s
;
extern
const
size_t
max_pending_m
essage
s
;
}
// namespace middleman
...
...
libcaf_core/src/actor_system_config.cpp
View file @
970b1090
...
...
@@ -99,7 +99,7 @@ actor_system_config::actor_system_config()
middleman_detach_utility_actors
=
true
;
middleman_detach_multiplexer
=
true
;
middleman_cached_udp_buffers
=
mm
::
cached_udp_buffers
;
middleman_max_pending_m
sgs
=
mm
::
max_pending_msg
s
;
middleman_max_pending_m
essages
=
mm
::
max_pending_message
s
;
// fill our options vector for creating INI and CLI parsers
opt_group
{
custom_options_
,
"global"
}
.
add
<
bool
>
(
"help,h?"
,
"print help and exit"
)
...
...
@@ -183,7 +183,7 @@ actor_system_config::actor_system_config()
"disables background activity of the multiplexer"
)
.
add
(
middleman_cached_udp_buffers
,
"cached-udp-buffers"
,
"sets the maximum for cached UDP send buffers (default: 10)"
)
.
add
(
middleman_max_pending_m
sg
s
,
"max-pending-messages"
,
.
add
(
middleman_max_pending_m
essage
s
,
"max-pending-messages"
,
"sets the maximum for reordering of UDP receive buffers (default: 10)"
)
.
add
<
bool
>
(
"disable-tcp"
,
"disables communication via TCP"
)
.
add
<
bool
>
(
"enable-udp"
,
"enable communication via UDP"
);
...
...
libcaf_core/src/defaults.cpp
View file @
970b1090
...
...
@@ -91,7 +91,7 @@ const atom_value network_backend = atom("default");
const
size_t
max_consecutive_reads
=
50
;
const
size_t
heartbeat_interval
=
0
;
const
size_t
cached_udp_buffers
=
10
;
const
size_t
max_pending_m
sg
s
=
10
;
const
size_t
max_pending_m
essage
s
=
10
;
}
// namespace middleman
...
...
libcaf_io/src/basp_broker.cpp
View file @
970b1090
...
...
@@ -67,8 +67,8 @@ basp_broker_state::basp_broker_state(broker* selfptr)
instance
(
selfptr
,
*
this
),
max_buffers
(
get_or
(
self
->
config
(),
"middleman.cached-udp-buffers"
,
defaults
::
middleman
::
cached_udp_buffers
)),
max_pending_messages
(
get_or
(
self
->
config
(),
"middleman.max-pending-m
sg
s"
,
defaults
::
middleman
::
max_pending_m
sg
s
))
{
max_pending_messages
(
get_or
(
self
->
config
(),
"middleman.max-pending-m
essage
s"
,
defaults
::
middleman
::
max_pending_m
essage
s
))
{
CAF_ASSERT
(
this_node
()
!=
none
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment