mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 05:02:46 +00:00
implement RETRY for send_album
This commit is contained in:
parent
a69204596e
commit
5afe05aa44
@ -11,7 +11,7 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v0.962-86-ge315162
|
#### $$VERSION$$ v0.962-87-ga692045
|
||||||
#
|
#
|
||||||
# Exit Codes:
|
# Exit Codes:
|
||||||
# - 0 success (hopefully)
|
# - 0 success (hopefully)
|
||||||
@ -416,6 +416,9 @@ sendJsonRetry(){
|
|||||||
'sendUpload'*)
|
'sendUpload'*)
|
||||||
sendUpload "$@"
|
sendUpload "$@"
|
||||||
;;
|
;;
|
||||||
|
'send_album'*)
|
||||||
|
send_album "$@"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%s: Error: unknown function %s, cannot retry\n" "$(date)" "${retry}"
|
printf "%s: Error: unknown function %s, cannot retry\n" "$(date)" "${retry}"
|
||||||
return
|
return
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v0.962-85-g01a72e8
|
#### $$VERSION$$ v0.962-87-ga692045
|
||||||
|
|
||||||
# will be automatically sourced from bashbot
|
# will be automatically sourced from bashbot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user