mirror of https://gitee.com/bigwinds/arangodb
fixed out of statistics
This commit is contained in:
parent
a6f88e8b84
commit
b0fd43d5ce
|
@ -150,7 +150,9 @@ bool HttpCommTask::processRead() {
|
|||
RequestStatisticsAgent::acquire();
|
||||
|
||||
#if USE_DEV_TIMERS
|
||||
RequestStatisticsAgent::_statistics->_id = (void*) this;
|
||||
if (RequestStatisticsAgent::_statistics != nullptr) {
|
||||
RequestStatisticsAgent::_statistics->_id = (void*) this;
|
||||
}
|
||||
#endif
|
||||
|
||||
_newRequest = false;
|
||||
|
|
Loading…
Reference in New Issue