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
c21f0426
Commit
c21f0426
authored
Jun 20, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused default values
parent
214b45dd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
libcaf_core/caf/defaults.hpp
libcaf_core/caf/defaults.hpp
+0
-4
libcaf_core/src/defaults.cpp
libcaf_core/src/defaults.cpp
+0
-2
No files found.
libcaf_core/caf/defaults.hpp
View file @
c21f0426
...
@@ -42,7 +42,6 @@ namespace scheduler {
...
@@ -42,7 +42,6 @@ namespace scheduler {
extern
const
atom_value
policy
;
extern
const
atom_value
policy
;
extern
const
size_t
max_threads
;
extern
const
size_t
max_threads
;
extern
const
size_t
max_throughput
;
extern
const
size_t
max_throughput
;
extern
const
bool
enable_profiling
;
extern
const
timespan
profiling_resolution
;
extern
const
timespan
profiling_resolution
;
}
// namespace scheduler
}
// namespace scheduler
...
@@ -66,7 +65,6 @@ extern const char* file_format;
...
@@ -66,7 +65,6 @@ extern const char* file_format;
extern
const
atom_value
console
;
extern
const
atom_value
console
;
extern
const
char
*
console_format
;
extern
const
char
*
console_format
;
extern
const
atom_value
verbosity
;
extern
const
atom_value
verbosity
;
extern
const
bool
inline_output
;
}
// namespace logger
}
// namespace logger
...
@@ -76,8 +74,6 @@ extern const char* app_identifier;
...
@@ -76,8 +74,6 @@ extern const char* app_identifier;
extern
const
atom_value
network_backend
;
extern
const
atom_value
network_backend
;
extern
const
size_t
max_consecutive_reads
;
extern
const
size_t
max_consecutive_reads
;
extern
const
size_t
heartbeat_interval
;
extern
const
size_t
heartbeat_interval
;
extern
const
bool
detach_utility_actors
;
extern
const
bool
detach_multiplexer
;
extern
const
size_t
cached_udp_buffers
;
extern
const
size_t
cached_udp_buffers
;
extern
const
size_t
max_pending_msgs
;
extern
const
size_t
max_pending_msgs
;
...
...
libcaf_core/src/defaults.cpp
View file @
c21f0426
...
@@ -54,7 +54,6 @@ namespace scheduler {
...
@@ -54,7 +54,6 @@ namespace scheduler {
const
atom_value
policy
=
atom
(
"stealing"
);
const
atom_value
policy
=
atom
(
"stealing"
);
const
size_t
max_threads
=
std
::
max
(
std
::
thread
::
hardware_concurrency
(),
4u
);
const
size_t
max_threads
=
std
::
max
(
std
::
thread
::
hardware_concurrency
(),
4u
);
const
size_t
max_throughput
=
std
::
numeric_limits
<
size_t
>::
max
();
const
size_t
max_throughput
=
std
::
numeric_limits
<
size_t
>::
max
();
const
bool
enable_profiling
=
false
;
const
timespan
profiling_resolution
=
ms
(
100
);
const
timespan
profiling_resolution
=
ms
(
100
);
}
// namespace scheduler
}
// namespace scheduler
...
@@ -78,7 +77,6 @@ const char* file_format = "%r %c %p %a %t %C %M %F:%L %m%n";
...
@@ -78,7 +77,6 @@ const char* file_format = "%r %c %p %a %t %C %M %F:%L %m%n";
const
atom_value
console
=
atom
(
"none"
);
const
atom_value
console
=
atom
(
"none"
);
const
char
*
console_format
=
"%m"
;
const
char
*
console_format
=
"%m"
;
const
atom_value
verbosity
=
atom
(
"trace"
);
const
atom_value
verbosity
=
atom
(
"trace"
);
const
bool
inline_output
=
false
;
}
// namespace logger
}
// namespace logger
...
...
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