mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
fix: maybe not awaiting (#15667)
This commit is contained in:
parent
b35dfc93e6
commit
62b69e90aa
@ -345,7 +345,7 @@ export class SessionRecordingBlobIngester {
|
||||
this.flushInterval = setTimeout(() => this.checkEachSession(), flushIntervalTimeoutMs)
|
||||
}
|
||||
|
||||
private async checkEachSession() {
|
||||
private checkEachSession() {
|
||||
let sessionManagerBufferSizes = 0
|
||||
|
||||
for (const [_, sessionManager] of this.sessions) {
|
||||
@ -361,7 +361,7 @@ export class SessionRecordingBlobIngester {
|
||||
this.serverConfig.SESSION_RECORDING_MAX_BUFFER_AGE_MULTIPLIER
|
||||
)
|
||||
|
||||
await sessionManager.flushIfSessionBufferIsOld(kafkaNow, flushThresholdMillis).catch((err) => {
|
||||
void sessionManager.flushIfSessionBufferIsOld(kafkaNow, flushThresholdMillis).catch((err) => {
|
||||
status.error(
|
||||
'🚽',
|
||||
'blob_ingester_consumer - failed trying to flush on idle session: ' + sessionManager.sessionId,
|
||||
|
Loading…
Reference in New Issue
Block a user