re-enable sub

This commit is contained in:
BennyThink 2022-04-02 20:32:23 +08:00
parent a379c11542
commit 16fd2d17ed
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481
2 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,6 @@ YouTube Download 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)

View File

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