{"action":"created","issue":{"url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/22","repository_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka","labels_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/22/comments","events_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/22/events","html_url":"https://github.com/doujiang24/lua-resty-kafka/issues/22","id":147971537,"number":22,"title":" too many pending timers","user":{"login":"chenyoufu","id":7324573,"avatar_url":"https://avatars.githubusercontent.com/u/7324573?v=3","gravatar_id":"","url":"https://api.github.com/users/chenyoufu","html_url":"https://github.com/chenyoufu","followers_url":"https://api.github.com/users/chenyoufu/followers","following_url":"https://api.github.com/users/chenyoufu/following{/other_user}","gists_url":"https://api.github.com/users/chenyoufu/gists{/gist_id}","starred_url":"https://api.github.com/users/chenyoufu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenyoufu/subscriptions","organizations_url":"https://api.github.com/users/chenyoufu/orgs","repos_url":"https://api.github.com/users/chenyoufu/repos","events_url":"https://api.github.com/users/chenyoufu/events{/privacy}","received_events_url":"https://api.github.com/users/chenyoufu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-13T07:30:41Z","updated_at":"2016-05-02T15:41:15Z","closed_at":null,"body":"if I send fast, the error log:\r\n\r\n[lua] producer.lua:280: _flush_buffer(): failed to create timer at _flush_buffer, err: too many pending timers.\r\n\r\nBut I use the ngx.timer.pending_count() and ngx.timer.running_count() function watching the  pending  and running value. The pending value max is 2 and the running value max is 1.\r\n\r\nThis is my nginx.conf setting:\r\n\r\nlua_max_pending_timers 1024;\r\nlua_max_running_timers 256;\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/comments/216271297","html_url":"https://github.com/doujiang24/lua-resty-kafka/issues/22#issuecomment-216271297","issue_url":"https://api.github.com/repos/doujiang24/lua-resty-kafka/issues/22","id":216271297,"user":{"login":"chenyoufu","id":7324573,"avatar_url":"https://avatars.githubusercontent.com/u/7324573?v=3","gravatar_id":"","url":"https://api.github.com/users/chenyoufu","html_url":"https://github.com/chenyoufu","followers_url":"https://api.github.com/users/chenyoufu/followers","following_url":"https://api.github.com/users/chenyoufu/following{/other_user}","gists_url":"https://api.github.com/users/chenyoufu/gists{/gist_id}","starred_url":"https://api.github.com/users/chenyoufu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenyoufu/subscriptions","organizations_url":"https://api.github.com/users/chenyoufu/orgs","repos_url":"https://api.github.com/users/chenyoufu/repos","events_url":"https://api.github.com/users/chenyoufu/events{/privacy}","received_events_url":"https://api.github.com/users/chenyoufu/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T15:41:15Z","updated_at":"2016-05-02T15:41:15Z","body":"@doujiang24 thanks, In the near future, hope to be able to support  the  ```timer zone``` feature  in the ngx_lua core."}}