[pushover] Provides the ability to specify a timeout in the config (#10817)

* Provides the ability to specify a timeout in the config, instead of using hardcoded 10 seconds.

Signed-off-by: Geroen Dierckx <geroen.dierckx@gmail.com>
This commit is contained in:
ridiekel
2021-06-09 07:12:30 +02:00
committed by GitHub
parent cf13bb8275
commit 047ae89aaf
4 changed files with 11 additions and 1 deletions

View File

@@ -48,6 +48,13 @@
<description>The expire parameter specifies how long your notification will continue to be retried.</description>
<default>3600</default>
</parameter>
<parameter name="timeout" type="integer" min="0" max="10800" unit="s">
<advanced>true</advanced>
<label>Timeout</label>
<description>The timeout parameter specifies maximum number of seconds a request to Pushover can
take.</description>
<default>10</default>
</parameter>
</config-description>
</config-description:config-descriptions>