lightfinder config, securing methods with stricter checking and added pair request notifications

This commit is contained in:
azyges
2025-09-29 05:31:58 +09:00
parent 6bc9da1519
commit ed13ee8921
9 changed files with 311 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
using System;
namespace LightlessSyncServer.Configuration;
public interface IBroadcastConfiguration
{
string RedisKeyPrefix { get; }
TimeSpan BroadcastEntryTtl { get; }
int MaxStatusBatchSize { get; }
bool NotifyOwnerOnPairRequest { get; }
bool EnableBroadcasting { get; }
bool EnableSyncshellBroadcastPayloads { get; }
string BuildRedisKey(string hashedCid);
string BuildPairRequestNotification(string displayName);
}