{"comment":{"url":"https://api.github.com/repos/sjdy521/Mojo-Webqq/comments/21104483","html_url":"https://github.com/sjdy521/Mojo-Webqq/commit/60290d2b60f1b88b1910f32ee1557825138b8303#commitcomment-21104483","id":21104483,"user":{"login":"sjdy521","id":7497148,"avatar_url":"https://avatars0.githubusercontent.com/u/7497148?v=3","gravatar_id":"","url":"https://api.github.com/users/sjdy521","html_url":"https://github.com/sjdy521","followers_url":"https://api.github.com/users/sjdy521/followers","following_url":"https://api.github.com/users/sjdy521/following{/other_user}","gists_url":"https://api.github.com/users/sjdy521/gists{/gist_id}","starred_url":"https://api.github.com/users/sjdy521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjdy521/subscriptions","organizations_url":"https://api.github.com/users/sjdy521/orgs","repos_url":"https://api.github.com/users/sjdy521/repos","events_url":"https://api.github.com/users/sjdy521/events{/privacy}","received_events_url":"https://api.github.com/users/sjdy521/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"60290d2b60f1b88b1910f32ee1557825138b8303","created_at":"2017-03-01T13:54:09Z","updated_at":"2017-03-01T13:54:09Z","body":"可以参考下/openqq/stop_client的代码，可以先返回响应给客户端说明指令已经收到 即将执行relogin，然后再设置个定时器 延迟3s再执行relogin，目的是在这个3s内把api响应发送出去 让客户端可以接收到（主要是http请求是基于事件循环的异步的方式运行，relogin是阻塞方式执行，relogin执行时，异步http请求就得不到执行的机会了）"}}
{"actor":{"display_login":"sjdy521"}}