mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 00:41:16 +02:00
fix a divide by zero for audio-mixer stat sending
This commit is contained in:
parent
a141e3dc5d
commit
fab53113e4
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ int main(int argc, const char* argv[]) {
|
|||
gettimeofday(&lastDomainServerCheckIn, NULL);
|
||||
AgentList::getInstance()->sendDomainServerCheckIn();
|
||||
|
||||
if (Logstash::shouldSendStats()) {
|
||||
if (Logstash::shouldSendStats() && numStatCollections > 0) {
|
||||
// if we should be sending stats to Logstash send the appropriate average now
|
||||
const char MIXER_LOGSTASH_METRIC_NAME[] = "audio-mixer-frame-time-usage";
|
||||
|
||||
|
|
Loading…
Reference in a new issue