EscalationCountTolerance

EscalationCountTolerance

#Overview

name: EscalationCountTolerance

The value of this variable can be defined or overridden in .ini config files. 3 .ini config files referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:1757, section: [RPCDoSDetection.PersistentBurst]

Location: <Workspace>/Engine/Config/BaseEngine.ini:1770, section: [RPCDoSDetection.DoS]

Location: <Workspace>/Engine/Config/BaseEngine.ini:1786, section: [RPCDoSDetection.ExpensiveDoS]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/Net/RPCDoSDetection.cpp:642

Scope (from outer to inner):

file
function     void FRPCDoSDetection::UpdateSeverity_Private

Source code excerpt:

			if (ActiveState > WorstAnalyticsState && !NewState.bEscalationConfirmed)
			{
				NewState.bEscalationConfirmed = NewState.EscalationCount >= NewState.EscalationCountTolerance ||
					(NewState.EscalationTimeToleranceMS != -1 && TickScope.FrameCounter.AccumRPCTime >= NewState.EscalationTimeToleranceSeconds);

				if (NewState.bEscalationConfirmed)
				{
					TArray<FName> UntimedRPCs;
					double RPCGroupTime = 0.0;

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Public/Net/RPCDoSDetection.h:215

Scope: file

Source code excerpt:

	/** The number of times this stage must be escalated to, before it is 'confirmed' as having been escalated to (for analytics) */
	UPROPERTY(config)
	int8 EscalationCountTolerance		= 1;

	/** The maximum time spent executing RPC's per frame, before this escalation stage is automatically 'confirmed' for analytics */
	UPROPERTY(config)
	int16 EscalationTimeToleranceMS		= -1;