FEditorAnalyticsSession::CleanupOutdatedIncompatibleSessions

Delete sessions that are incompatible with the current session format and too old to be sent even if the Editor version corresponding to the format was used again.

Windows
MacOS
Linux

References

Module

EditorAnalyticsSession

Header

/Engine/Source/Developer/EditorAnalyticsSession/Public/EditorAnalyticsSession.h

Include

#include "EditorAnalyticsSession.h"

Source

/Engine/Source/Developer/EditorAnalyticsSession/Private/EditorAnalyticsSession.cpp

Syntax

static void CleanupOutdatedIncompatibleSessions
(
    const FTimespan & MaxAge
)

Remarks

Delete sessions that are incompatible with the current session format and too old to be sent even if the Editor version corresponding to the format was used again. This is a maintenance function to prevent accumulating dead sessions over years.

Parameters

Parameter

Description

MaxAge

Threshold to delete sessions that are older than MaxAge. Incompatible sessions are kept around for some time because many users continue using older versions of the Editor that would be able to send those sessions that a newer Editor version wouldn't.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss