forked from GithubBackups/healthchecks
Increase the timeout for sending Signal messages
This commit is contained in:
parent
ee37d305ef
commit
d4aac691ce
@ -680,7 +680,9 @@ class Signal(Transport):
|
|||||||
args.extend(["send", self.channel.phone_number])
|
args.extend(["send", self.channel.phone_number])
|
||||||
args.extend(["-m", text])
|
args.extend(["-m", text])
|
||||||
|
|
||||||
result = subprocess.run(args, timeout=10)
|
# Need a high timeout because sending the first message to a new
|
||||||
|
# recipient sometimes takes 20+ seconds
|
||||||
|
result = subprocess.run(args, timeout=30)
|
||||||
|
|
||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
return "signal-cli returned exit code %d" % result.returncode
|
return "signal-cli returned exit code %d" % result.returncode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user