From 28278bea4dfc1a1edcbd42aa2353ad54c204cfd9 Mon Sep 17 00:00:00 2001 From: sandwich <299465+dskvr@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:09:27 +0000 Subject: [PATCH] hotfix: missing rtt 2 --- packages/publisher/src/kinds/Kind30066.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/publisher/src/kinds/Kind30066.js b/packages/publisher/src/kinds/Kind30066.js index 31fbed6d..43783870 100644 --- a/packages/publisher/src/kinds/Kind30066.js +++ b/packages/publisher/src/kinds/Kind30066.js @@ -53,11 +53,11 @@ export class Kind30066 extends Publisher { if(data?.network) tags.push( ['other', 'network', data.network] ) if(isRtt) { - if(data.connect?.data && data.connect?.duration > 0 && data?.write?.status !== 'error') + if(data.connect?.data) tags.push([ 'rtt', 'open', data.connect.duration.toString() ]) - if(data.read?.data && data?.read?.duration > 0 && data?.write?.status !== 'error') + if(data?.read?.data) tags.push([ 'rtt', 'read', data.read.duration.toString() ]) - if(data.write?.data && data?.write?.duration > 0 && data?.write?.status !== 'error') + if(data?.write?.data) tags.push([ 'rtt', 'write', data.write.duration.toString() ]) }