{"action":"created","issue":{"url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/42","repository_url":"https://api.github.com/repos/maboss-YCMan/ziyan","labels_url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/42/comments","events_url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/42/events","html_url":"https://github.com/maboss-YCMan/ziyan/pull/42","id":239457481,"number":42,"title":"Increase the hot swap function","user":{"login":"driftluo","id":19374080,"avatar_url":"https://avatars0.githubusercontent.com/u/19374080?v=3","gravatar_id":"","url":"https://api.github.com/users/driftluo","html_url":"https://github.com/driftluo","followers_url":"https://api.github.com/users/driftluo/followers","following_url":"https://api.github.com/users/driftluo/following{/other_user}","gists_url":"https://api.github.com/users/driftluo/gists{/gist_id}","starred_url":"https://api.github.com/users/driftluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftluo/subscriptions","organizations_url":"https://api.github.com/users/driftluo/orgs","repos_url":"https://api.github.com/users/driftluo/repos","events_url":"https://api.github.com/users/driftluo/events{/privacy}","received_events_url":"https://api.github.com/users/driftluo/received_events","type":"User","site_admin":false},"labels":[{"id":580245699,"url":"https://api.github.com/repos/maboss-YCMan/ziyan/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-29T12:08:36Z","updated_at":"2017-07-03T07:57:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/maboss-YCMan/ziyan/pulls/42","html_url":"https://github.com/maboss-YCMan/ziyan/pull/42","diff_url":"https://github.com/maboss-YCMan/ziyan/pull/42.diff","patch_url":"https://github.com/maboss-YCMan/ziyan/pull/42.patch"},"body":"问题 #41 的实现 \r\n热修改配置文件和插件功能完成，思路如下：\r\n程序启动：\r\n1、遍历工作目录下的 *.py *.lua *.toml 文件\r\n2、根据文件的修改时间生成 SHA，记录在 Maintainer 实例中\r\n运行中：\r\n1、每隔 5 秒查询一次当前生成的 SHA 值与记录的是否一致，如果不一致，则将监控的线程全部杀死\r\n2、watchdog 检查到线程死去后，重新加载插件和配置文件，并重启线程"},"comment":{"url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/comments/312575811","html_url":"https://github.com/maboss-YCMan/ziyan/pull/42#issuecomment-312575811","issue_url":"https://api.github.com/repos/maboss-YCMan/ziyan/issues/42","id":312575811,"user":{"login":"Fatekiller23","id":13780769,"avatar_url":"https://avatars2.githubusercontent.com/u/13780769?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatekiller23","html_url":"https://github.com/Fatekiller23","followers_url":"https://api.github.com/users/Fatekiller23/followers","following_url":"https://api.github.com/users/Fatekiller23/following{/other_user}","gists_url":"https://api.github.com/users/Fatekiller23/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatekiller23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatekiller23/subscriptions","organizations_url":"https://api.github.com/users/Fatekiller23/orgs","repos_url":"https://api.github.com/users/Fatekiller23/repos","events_url":"https://api.github.com/users/Fatekiller23/events{/privacy}","received_events_url":"https://api.github.com/users/Fatekiller23/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T07:57:41Z","updated_at":"2017-07-03T07:57:41Z","body":"merge 🤘 "}}
{"actor":{"display_login":"Fatekiller23"}}