doc: NOT IMPLEMENTED modules: improve webbhok message

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-02-01 10:30:47 +01:00
parent 91a143ab15
commit 737be16b3f
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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