mirror of https://gitee.com/bigwinds/arangodb
use initializer
This commit is contained in:
parent
fae1f7ba63
commit
2383548270
|
@ -110,8 +110,7 @@ class HeartbeatBackgroundJob {
|
||||||
public:
|
public:
|
||||||
explicit HeartbeatBackgroundJob(std::shared_ptr<HeartbeatThread> hbt,
|
explicit HeartbeatBackgroundJob(std::shared_ptr<HeartbeatThread> hbt,
|
||||||
double startTime)
|
double startTime)
|
||||||
: _heartbeatThread(hbt), _startTime(startTime) {
|
: _heartbeatThread(hbt), _startTime(startTime),_schedulerInfo(SchedulerFeature::SCHEDULER->infoStatus()) {
|
||||||
_schedulerInfo = SchedulerFeature::SCHEDULER->infoStatus();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator()() {
|
void operator()() {
|
||||||
|
|
Loading…
Reference in New Issue