{"action":"created","issue":{"url":"https://api.github.com/repos/larkjs/lark/issues/164","labels_url":"https://api.github.com/repos/larkjs/lark/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/larkjs/lark/issues/164/comments","events_url":"https://api.github.com/repos/larkjs/lark/issues/164/events","html_url":"https://github.com/larkjs/lark/issues/164","id":97442290,"number":164,"title":"检查 NODE_ENV  参数在 production 环境下是否正确","user":{"login":"zezhou","id":242065,"avatar_url":"https://avatars.githubusercontent.com/u/242065?v=3","gravatar_id":"","url":"https://api.github.com/users/zezhou","html_url":"https://github.com/zezhou","followers_url":"https://api.github.com/users/zezhou/followers","following_url":"https://api.github.com/users/zezhou/following{/other_user}","gists_url":"https://api.github.com/users/zezhou/gists{/gist_id}","starred_url":"https://api.github.com/users/zezhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zezhou/subscriptions","organizations_url":"https://api.github.com/users/zezhou/orgs","repos_url":"https://api.github.com/users/zezhou/repos","events_url":"https://api.github.com/users/zezhou/events{/privacy}","received_events_url":"https://api.github.com/users/zezhou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-27T11:27:52Z","updated_at":"2015-08-04T07:51:23Z","closed_at":"2015-08-04T07:51:23Z","body":"根据这篇文章的内容 http://apmblog.dynatrace.com/2015/07/22/the-drastic-effects-of-omitting-node_env-in-your-express-js-applications/ ，koa, express 等框架 在没有设置 NODE_ENV 环境变量的情况会默认设置环境变量为 development, 导致性能下降严重。因此需要检测该项环境变量设置在 lark 的各项 production 环境下是否正确。"},"comment":{"url":"https://api.github.com/repos/larkjs/lark/issues/comments/127510266","html_url":"https://github.com/larkjs/lark/issues/164#issuecomment-127510266","issue_url":"https://api.github.com/repos/larkjs/lark/issues/164","id":127510266,"user":{"login":"jabez128","id":2700425,"avatar_url":"https://avatars.githubusercontent.com/u/2700425?v=3","gravatar_id":"","url":"https://api.github.com/users/jabez128","html_url":"https://github.com/jabez128","followers_url":"https://api.github.com/users/jabez128/followers","following_url":"https://api.github.com/users/jabez128/following{/other_user}","gists_url":"https://api.github.com/users/jabez128/gists{/gist_id}","starred_url":"https://api.github.com/users/jabez128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabez128/subscriptions","organizations_url":"https://api.github.com/users/jabez128/orgs","repos_url":"https://api.github.com/users/jabez128/repos","events_url":"https://api.github.com/users/jabez128/events{/privacy}","received_events_url":"https://api.github.com/users/jabez128/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T07:51:23Z","updated_at":"2015-08-04T07:51:23Z","body":"增加了对于NODE_ENV的判断，如果没有进行配置，默认情况使用production。\r\nbenchmark等待lark-commands模块问题修复以后进行测试。"}}