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
dc26020f
Commit
dc26020f
authored
Mar 16, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add connection_timeout to debug log output
parent
fa71cf3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libcaf_io/src/io/basp_broker.cpp
libcaf_io/src/io/basp_broker.cpp
+2
-1
No files found.
libcaf_io/src/io/basp_broker.cpp
View file @
dc26020f
...
...
@@ -109,12 +109,13 @@ behavior basp_broker::make_behavior() {
auto
heartbeat_interval
=
get_or
(
config
(),
"caf.middleman.heartbeat-interval"
,
defaults
::
middleman
::
heartbeat_interval
);
if
(
heartbeat_interval
.
count
()
>
0
)
{
CAF_LOG_DEBUG
(
"enable heartbeat"
<<
CAF_ARG
(
heartbeat_interval
));
auto
now
=
clock
().
now
();
auto
first_tick
=
now
+
heartbeat_interval
;
auto
connection_timeout
=
get_or
(
config
(),
"caf.middleman.connection-timeout"
,
defaults
::
middleman
::
connection_timeout
);
CAF_LOG_DEBUG
(
"enable heartbeat"
<<
CAF_ARG
(
heartbeat_interval
)
<<
CAF_ARG
(
connection_timeout
));
// Note: we send the scheduled time as integer representation to avoid
// having to assign a type ID to the time_point type.
scheduled_send
(
this
,
first_tick
,
tick_atom_v
,
...
...
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