Skip to content
New issue

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

处理超时时自动回复的代码在何处?如何配置? #39

Open
icyfox-bupt opened this issue Jan 2, 2018 · 0 comments
Open

Comments

@icyfox-bupt
Copy link

Hi,
以如下代码为例:

@itchatmp.msg_register(itchatmp.content.TEXT)
def text_reply(msg):
    back = DoSomething()
    return back

如果DoSomething 执行超过5秒,我发现微信并不会返回服务器错误。 在log中看到了itchatmp好像是自动处理了这个超时的情况。 请问自动处理的代码在哪里,我是否可以更改自动回复的内容?
其实我主要想确定自动回复的判定是怎样的,是否是以超过5秒为判断标准?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant