Skip to content

Commit

Permalink
optimize logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luzmane committed May 8, 2024
1 parent 2ff0fee commit 16e0058
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ private async Task<string> SendRequestAsync(string url, CancellationToken cancel
{
CancellationToken = cancellationToken,
Url = url,
LogResponse = true,
LogRequest = false,
LogResponse = false,
CacheLength = TimeSpan.FromHours(12),
CacheMode = CacheMode.Unconditional,
TimeoutMs = 30_000,
Expand Down
3 changes: 2 additions & 1 deletion EmbyKinopoiskRu/Api/KinopoiskDev/KinopoiskDevApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ private async Task<string> SendRequestAsync(string url, CancellationToken cancel
{
CancellationToken = cancellationToken,
Url = url,
LogResponse = true,
LogRequest = false,
LogResponse = false,
CacheLength = TimeSpan.FromHours(12),
CacheMode = CacheMode.Unconditional,
TimeoutMs = 30_000,
Expand Down

0 comments on commit 16e0058

Please sign in to comment.