diff --git a/apps/nocapd/src/classes/Worker.js b/apps/nocapd/src/classes/Worker.js index 221c21c0..7a98b6aa 100644 --- a/apps/nocapd/src/classes/Worker.js +++ b/apps/nocapd/src/classes/Worker.js @@ -270,13 +270,13 @@ export class NWWorker { const {group, retries} = this.relayMeta.get(relay) const format = i => Math.ceil(i) if(group === 'online') - return format(this.priority/10) + return format(this.priority/2) if(group === 'unchecked') return format(this.priority) if(group === 'expired'){ - if(retries > 16) + if(retries > 30) return format(this.priority*10) - else if(retries > 12) + else if(retries > 16) return format(this.priority*8) else if(retries > 8) return format(this.priority*7) diff --git a/packages/publisher/src/kinds/Kind30066.js b/packages/publisher/src/kinds/Kind30066.js index 1e6120a2..31fbed6d 100644 --- a/packages/publisher/src/kinds/Kind30066.js +++ b/packages/publisher/src/kinds/Kind30066.js @@ -39,7 +39,7 @@ export class Kind30066 extends Publisher { static generateTags(data){ let tags = [] - const isRtt = data?.connect?.data === true + const isRtt = data?.connect?.data === true || data?.connect?.duration > 0 const isDns = Object.keys(data?.dns || {})?.length > 0 const isInfo = Object.keys(data?.info?.data || {})?.length > 0 const isGeo = Object.keys(data?.geo?.data || {})?.length > 0