mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-10 03:48:19 +02:00
Change DefaultRequestLimits
This commit is contained in:
@@ -39,12 +39,12 @@ public struct TrangaSettings()
|
|||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
internal static readonly Dictionary<RequestType, int> DefaultRequestLimits = new ()
|
internal static readonly Dictionary<RequestType, int> DefaultRequestLimits = new ()
|
||||||
{
|
{
|
||||||
{RequestType.MangaInfo, 60},
|
{RequestType.MangaInfo, 360},
|
||||||
{RequestType.MangaDexFeed, 60},
|
{RequestType.MangaDexFeed, 360},
|
||||||
{RequestType.MangaDexImage, 60},
|
{RequestType.MangaDexImage, 60},
|
||||||
{RequestType.MangaImage, 240},
|
{RequestType.MangaImage, 240},
|
||||||
{RequestType.MangaCover, 60},
|
{RequestType.MangaCover, 60},
|
||||||
{RequestType.Default, 60}
|
{RequestType.Default, 360}
|
||||||
};
|
};
|
||||||
public Dictionary<RequestType, int> RequestLimits { get; set; } = DefaultRequestLimits;
|
public Dictionary<RequestType, int> RequestLimits { get; set; } = DefaultRequestLimits;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user