mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 12:37:24 +01:00
Respect LogTopicRequests here
This commit is contained in:
@@ -7,6 +7,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
@@ -942,7 +943,9 @@ namespace Tgstation.Server.Host.Components.Session
|
||||
using (await TopicSendSemaphore.Lock(cancellationToken))
|
||||
byondResponse = await byondTopicSender.SendWithOptionalPriority(
|
||||
asyncDelayer,
|
||||
Logger,
|
||||
LogTopicRequests
|
||||
? Logger
|
||||
: NullLogger.Instance,
|
||||
queryString,
|
||||
targetPort,
|
||||
priority,
|
||||
|
||||
Reference in New Issue
Block a user