Skip to content

Commit

Permalink
fix ThreeMammals#1833, Default timeout(90s) of downstream requests is…
Browse files Browse the repository at this point in the history
… broken
  • Loading branch information
alvin huang committed Dec 6, 2023
1 parent d7754af commit a0df801
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Ocelot/Configuration/File/FileQoSOptions.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace Ocelot.Configuration.File
{
public class FileQoSOptions
namespace Ocelot.Configuration.File
{
public class FileQoSOptions
{
public FileQoSOptions()
{
DurationOfBreak = 1;
ExceptionsAllowedBeforeBreaking = 0;
TimeoutValue = int.MaxValue;
TimeoutValue = 0;
}

public FileQoSOptions(FileQoSOptions from)
Expand All @@ -22,9 +22,9 @@ public FileQoSOptions(QoSOptions from)
ExceptionsAllowedBeforeBreaking = from.ExceptionsAllowedBeforeBreaking;
TimeoutValue = from.TimeoutValue;
}

public int DurationOfBreak { get; set; }
public int ExceptionsAllowedBeforeBreaking { get; set; }
public int TimeoutValue { get; set; }
}

public int DurationOfBreak { get; set; }
public int ExceptionsAllowedBeforeBreaking { get; set; }
public int TimeoutValue { get; set; }
}
}

0 comments on commit a0df801

Please sign in to comment.