8000 stop statistics in stop instead of unprepare (#7631) · surajpatel11/arangodb@f923a6a · GitHub
[go: up one dir, main page]

Skip to content

Commit f923a6a

Browse files
dothebartjsteemann
authored andcommitted
stop statistics in stop instead of unprepare (arangodb#7631)
1 parent 7c0d1e9 commit f923a6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arangod/Statistics/StatisticsFeature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void StatisticsFeature::start() {
195195
}
196196
}
197197

198-
void StatisticsFeature::unprepare() {
198+
void StatisticsFeature::stop() {
199199
if (_statisticsThread != nullptr) {
200200
_statisticsThread->beginShutdown();
201201

arangod/Statistics/StatisticsFeature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class StatisticsFeature final
8282
void validateOptions(std::shared_ptr<options::ProgramOptions>) override final;
8383
void prepare() override final;
8484
void start() override final;
85-
void unprepare() override final;
85+
void stop() override final;
8686

8787
static stats::Descriptions const* descriptions() {
8888
if (STATISTICS != nullptr) {

0 commit comments

Comments
 (0)
0