You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Changed Config GetTable to return a pointer that can be null if table does not exist [CL 34393645 by henrik karlsson in ue5-main branch]
30 lines
1.0 KiB
C++
30 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UbaSessionCreateInfo.h"
|
|
|
|
namespace uba
|
|
{
|
|
class NetworkServer;
|
|
|
|
struct SessionServerCreateInfo : SessionCreateInfo
|
|
{
|
|
SessionServerCreateInfo(Storage& s, NetworkServer& c, LogWriter& writer = g_consoleLogWriter) : SessionCreateInfo(s, writer), server(c) {}
|
|
|
|
void Apply(Config& config);
|
|
|
|
NetworkServer& server;
|
|
u8 memWaitLoadPercent = 85; // When memory usage goes above this percent, no new processes will be spawned until back below
|
|
u8 memKillLoadPercent = 95; // When memory usage goes above this percent, newest processes will be killed to bring it back below
|
|
bool resetCas = false;
|
|
bool remoteExecutionEnabled = true;
|
|
bool nameToHashTableEnabled = true;
|
|
bool checkMemory = true;
|
|
bool allowWaitOnMem = false;
|
|
bool allowKillOnMem = false;
|
|
bool remoteLogEnabled = false; // If Uba is built in debug, then the logs will be sent back to server
|
|
bool remoteTraceEnabled = false; // If this is true, the agents will run trace and send the .uba file back to server
|
|
};
|
|
}
|