-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use default timeout for Regex (#1160)
- Loading branch information
Showing
8 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
// Copyright © WireMock.Net | ||
|
||
using System; | ||
|
||
namespace WireMock.Constants; | ||
|
||
internal static class WireMockConstants | ||
{ | ||
public const int AdminPriority = int.MinValue; | ||
public const int MinPriority = -1_000_000; | ||
public const int ProxyPriority = -2_000_000; | ||
internal static readonly TimeSpan DefaultRegexTimeout = TimeSpan.FromSeconds(10); | ||
|
||
internal const int AdminPriority = int.MinValue; | ||
internal const int MinPriority = -1_000_000; | ||
internal const int ProxyPriority = -2_000_000; | ||
|
||
public const string ContentTypeJson = "application/json"; | ||
public const string ContentTypeTextPlain = "text/plain"; | ||
internal const string ContentTypeJson = "application/json"; | ||
internal const string ContentTypeTextPlain = "text/plain"; | ||
|
||
public const string NoMatchingFound = "No matching mapping found"; | ||
} | ||
internal const string NoMatchingFound = "No matching mapping found"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters