diff --git a/examples/webhook/README.md b/examples/webhook/README.md index dbb62fe..6945816 100644 --- a/examples/webhook/README.md +++ b/examples/webhook/README.md @@ -46,6 +46,8 @@ Bashbot on every update, it's more responsive and create less server load for a #### High traffic processing +#### CURRENTLY NOT IMPLEMENTED + High traffic processing writes Telegram updates to the named pipe `data-bot-bash/webhook-fifo` and Bashbot poll them, this is much more efficient than polling Telegram server. @@ -72,5 +74,5 @@ To stop delivering of Telegram updates via webhook run `bin/any_command.sh delet **Important**: Only https connections with a valid certificate chain are allowed as endpoint for webhook. -#### $$VERSION$$ v1.40-dev-22-g6754273 +#### $$VERSION$$ v1.40-dev-28-g91a143a diff --git a/modules/processUpdates.sh b/modules/processUpdates.sh index 71fe881..6890227 100644 --- a/modules/processUpdates.sh +++ b/modules/processUpdates.sh @@ -4,7 +4,7 @@ # File: processUpdates.sh # Note: DO NOT EDIT! this file will be overwritten on update # -#### $$VERSION$$ v1.40-dev-23-g4e7b305 +#### $$VERSION$$ v1.40-dev-28-g91a143a ################################################################## ############## @@ -352,7 +352,7 @@ get_updates(){ if grep -q '^\["error_code"\] 409' <<<"${UPDATE}"; then [ "${OFFSET}" != "-999" ] && nextsleep="${stepsleep}" OFFSET="-999"; errsleep="$(_round_float "$(( errsleep= 300*nextsleep ))e-3")" - log_error "Warning conflicting webhook set, can't get updates until delete_webhook! Sleep $((errsleep/60)) min ..." + log_error "Warning conflicting webhook set, can't get updates until your run delete_webhook! Sleep $((errsleep/60)) min ..." sleep "${errsleep}" continue fi