Skip to content

Commit

Permalink
new default time to live
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Oct 27, 2023
1 parent 0729cc4 commit 8f3c56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MagickCore/resource.c
Expand Up @@ -136,7 +136,7 @@ static ResourceInfo
MagickULLConstant(768), /* file limit */
MagickULLConstant(1), /* thread limit */
MagickULLConstant(0), /* throttle limit */
MagickResourceInfinity /* time limit */
INT_MAX /* time limit */
};

static SemaphoreInfo
Expand Down Expand Up @@ -1333,7 +1333,7 @@ MagickPrivate MagickBooleanType ResourceComponentGenesis(void)
limit,100.0));
limit=DestroyString(limit);
}
(void) SetMagickResourceLimit(TimeResource,MagickResourceInfinity);
(void) SetMagickResourceLimit(TimeResource,INT_MAX);
limit=GetEnvironmentValue("MAGICK_TIME_LIMIT");
if (limit != (char *) NULL)
{
Expand Down

0 comments on commit 8f3c56f

Please sign in to comment.