We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想请问一下,我现在用的腾讯云函数,CHECK_RESIN_SECS这个参数该怎么理解呢,是不是自从函数开始运行开始每隔x秒去检测树脂。但是腾讯云函数执行超时时间最多900秒,那900秒之后这个检测就被终止了,该怎么解决呢? 我想签到的时候ONEPUSH一次信息,然后树脂达到数量ONEPUSH一次信息。
The text was updated successfully, but these errors were encountered:
在腾讯云云函数设置触发器。云函数环境下这个参数没用。
Sorry, something went wrong.
正解
1.云函数设置触发器 2.云函数需要注意一下服务器的时区问题,可修改genshincheckinhelper/main.py中的datetime.datetime.now()方法,改为datetime.datetime.now().astimezone(datetime.timezone(datetime.timedelta(hours=8))) 3.最好把genshincheckinhelper/main.py 中run_once()方法里的job1()注释掉,然后单独部署一个注释掉job1()的
No branches or pull requests
想请问一下,我现在用的腾讯云函数,CHECK_RESIN_SECS这个参数该怎么理解呢,是不是自从函数开始运行开始每隔x秒去检测树脂。但是腾讯云函数执行超时时间最多900秒,那900秒之后这个检测就被终止了,该怎么解决呢? 我想签到的时候ONEPUSH一次信息,然后树脂达到数量ONEPUSH一次信息。
The text was updated successfully, but these errors were encountered: