Add timeout on curl commands

This commit is contained in:
~lucidiot 2024-01-19 14:27:37 +00:00
parent 3861f497de
commit 40b0da7709
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ fi
</xsl:template>
<xsl:template match="itsb:curl">
<xsl:text>curl --fail -s </xsl:text>
<xsl:text>curl --fail -s --max-time 60 </xsl:text>
<xsl:if test="itsb:url/@verify-ssl = 'false' or itsb:url/@verify-ssl = '0'">
<xsl:text>-k </xsl:text>
</xsl:if>