Manus commited on
Commit
e2fef8e
·
1 Parent(s): 19a0b56

Fix: Completely remove all timeout and webhook-related code as requested

Browse files
Files changed (1) hide show
  1. host.py +0 -1
host.py CHANGED
@@ -2230,7 +2230,6 @@ if __name__ == '__main__':
2230
  while True:
2231
  try:
2232
  bot.infinity_polling(logger_level=logging.INFO)
2233
- except requests.exceptions.ReadTimeout: logger.warning("Polling ReadTimeout. Restarting in 5s..."); time.sleep(5)
2234
  except requests.exceptions.ConnectionError as ce: logger.error(f"Polling ConnectionError: {ce}. Retrying in 15s..."); time.sleep(15)
2235
  except Exception as e:
2236
  logger.critical(f"💥 Unrecoverable polling error: {e}", exc_info=True)
 
2230
  while True:
2231
  try:
2232
  bot.infinity_polling(logger_level=logging.INFO)
 
2233
  except requests.exceptions.ConnectionError as ce: logger.error(f"Polling ConnectionError: {ce}. Retrying in 15s..."); time.sleep(15)
2234
  except Exception as e:
2235
  logger.critical(f"💥 Unrecoverable polling error: {e}", exc_info=True)