temp disable sub

This commit is contained in:
BennyThink 2022-03-25 23:19:21 +08:00
parent 9c199ab81a
commit a379c11542
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481
2 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@ YouTube Download Bot🚀
Download videos from YouTube and other platforms through a Telegram Bot Download videos from YouTube and other platforms through a Telegram Bot
**subscription was disaabled for now!**
----- -----
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

View File

@ -358,8 +358,8 @@ if __name__ == '__main__':
scheduler.add_job(Redis().reset_today, 'cron', hour=0, minute=0) scheduler.add_job(Redis().reset_today, 'cron', hour=0, minute=0)
scheduler.add_job(auto_restart, 'interval', seconds=5) scheduler.add_job(auto_restart, 'interval', seconds=5)
scheduler.add_job(InfluxDB().collect_data, 'interval', seconds=60) scheduler.add_job(InfluxDB().collect_data, 'interval', seconds=60)
# default quota allocation of 10,000 units per day, # default quota allocation of 10,000 units per day, TODO disabled it for now!
scheduler.add_job(periodic_sub_check, 'interval', seconds=60 * 30) # scheduler.add_job(periodic_sub_check, 'interval', seconds=60 * 30)
scheduler.start() scheduler.start()
banner = f""" banner = f"""