Browse Source

Increase download timeout for backups.

pull/544/head
Sebastian 6 years ago
parent
commit
38d762653d
  1. 1
      backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleEventFormatter.cs
  2. 2
      backend/src/Squidex.Domain.Apps.Entities/Backup/TempFolderBackupArchiveLocation.cs
  3. 1
      backend/src/Squidex.Domain.Apps.Entities/Contents/ContentSchedulerGrain.cs
  4. 1
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/Queries/AssetQueryParserTests.cs
  5. 2
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/Queries/ContentQueryParserTests.cs

1
backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleEventFormatter.cs

@ -10,7 +10,6 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NodaTime.Text;

2
backend/src/Squidex.Domain.Apps.Entities/Backup/TempFolderBackupArchiveLocation.cs

@ -52,6 +52,8 @@ namespace Squidex.Domain.Apps.Entities.Backup
{
using (var client = new HttpClient())
{
client.Timeout = TimeSpan.FromHours(1);
response = await client.GetAsync(url);
response.EnsureSuccessStatusCode();

1
backend/src/Squidex.Domain.Apps.Entities/Contents/ContentSchedulerGrain.cs

@ -8,7 +8,6 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Bson;
using NodaTime;
using Orleans;
using Orleans.Runtime;

1
backend/tests/Squidex.Domain.Apps.Entities.Tests/Assets/Queries/AssetQueryParserTests.cs

@ -8,7 +8,6 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Esprima.Ast;
using FakeItEasy;
using Microsoft.Extensions.Options;
using Squidex.Domain.Apps.Core.Tags;

2
backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/Queries/ContentQueryParserTests.cs

@ -7,8 +7,6 @@
using System;
using System.Threading.Tasks;
using Esprima.Ast;
using FakeItEasy;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Squidex.Domain.Apps.Core;

Loading…
Cancel
Save