You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am managing multiple users sessions (not bot) on a webhost & i'm getting "rate limited" by telegram because of the amounts of "Ping DC" (i have to restart php to make it stop & i'm able to connect back to telegram servers).
I would like to remove the "magical self-restart" but i don't find any way to do it.
I checked around "danog\MadelineProto\Shutdown;" but i do not understand much the usage.
I have tested $ok = Shutdown::removeCallback("restarter"); without success.
I want to avoid "ping loops" but keeping the sessions ready to connect to.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am managing multiple users sessions (not bot) on a webhost & i'm getting "rate limited" by telegram because of the amounts of "Ping DC" (i have to restart php to make it stop & i'm able to connect back to telegram servers).
I would like to remove the "magical self-restart" but i don't find any way to do it.
I checked around "danog\MadelineProto\Shutdown;" but i do not understand much the usage.
I have tested
$ok = Shutdown::removeCallback("restarter");
without success.I want to avoid "ping loops" but keeping the sessions ready to connect to.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions