fix(tracker): fix q sender token mismatch during assist connection
This commit is contained in:
parent
df21547235
commit
9fb1735d2c
1 changed files with 10 additions and 0 deletions
|
|
@ -78,6 +78,16 @@ export default class QueueSender {
|
|||
headers['Content-Encoding'] = 'gzip'
|
||||
}
|
||||
|
||||
/**
|
||||
* sometimes happen during assist connects for some reason
|
||||
* */
|
||||
if (this.token === null) {
|
||||
setTimeout(() => {
|
||||
this.sendBatch(batch, isCompressed)
|
||||
}, 500)
|
||||
return
|
||||
}
|
||||
|
||||
fetch(this.ingestURL, {
|
||||
body: batch,
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue