added medium frequency
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
7d39fc0667
commit
f276356172
@ -92,6 +92,8 @@ void polling::start(app_config *config) {
|
|||||||
config_ = config;
|
config_ = config;
|
||||||
stop_requested_ = false;
|
stop_requested_ = false;
|
||||||
|
|
||||||
|
tasks::instance().start(config);
|
||||||
|
|
||||||
auto idx{0U};
|
auto idx{0U};
|
||||||
frequency_threads_.at(idx++) =
|
frequency_threads_.at(idx++) =
|
||||||
std::make_unique<std::thread>([this]() -> void {
|
std::make_unique<std::thread>([this]() -> void {
|
||||||
@ -125,8 +127,6 @@ void polling::start(app_config *config) {
|
|||||||
this->frequency_thread([]() -> std::uint32_t { return 1U; },
|
this->frequency_thread([]() -> std::uint32_t { return 1U; },
|
||||||
frequency::second);
|
frequency::second);
|
||||||
});
|
});
|
||||||
|
|
||||||
tasks::instance().start(config);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void polling::stop() {
|
void polling::stop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user