From 70cecb346bca0c2956417997498b84c4866dc1c2 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 27 May 2013 18:25:04 -0400 Subject: reduce fanart movie requests using their updates api --- MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs') diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs index 893715b73..023df3177 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs @@ -358,7 +358,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer { var address = endpoint.ToString(); - _localEndPoints.AddOrUpdate(address, address, (key, existing) => address); + _localEndPoints.GetOrAdd(address, address); } if (EnableHttpRequestLogging) -- cgit v1.2.3