{"action":"opened","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/1930","repository_url":"https://api.github.com/repos/swoole/swoole-src","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/1930/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/1930/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/1930/events","html_url":"https://github.com/swoole/swoole-src/issues/1930","id":355811360,"node_id":"MDU6SXNzdWUzNTU4MTEzNjA=","number":1930,"title":"task进程里的定时器被推迟执行","user":{"login":"goldfishhomes","id":19575019,"node_id":"MDQ6VXNlcjE5NTc1MDE5","avatar_url":"https://avatars3.githubusercontent.com/u/19575019?v=4","gravatar_id":"","url":"https://api.github.com/users/goldfishhomes","html_url":"https://github.com/goldfishhomes","followers_url":"https://api.github.com/users/goldfishhomes/followers","following_url":"https://api.github.com/users/goldfishhomes/following{/other_user}","gists_url":"https://api.github.com/users/goldfishhomes/gists{/gist_id}","starred_url":"https://api.github.com/users/goldfishhomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldfishhomes/subscriptions","organizations_url":"https://api.github.com/users/goldfishhomes/orgs","repos_url":"https://api.github.com/users/goldfishhomes/repos","events_url":"https://api.github.com/users/goldfishhomes/events{/privacy}","received_events_url":"https://api.github.com/users/goldfishhomes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-31T01:49:12Z","updated_at":"2018-08-31T01:49:12Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What did you do? If possible, provide a recipe for reproducing the error.\r\n\r\n在单task中投递3次swoole_timer_after定时器，执行顺序，（1）执行15秒，（2）执行2秒，（3）当2秒定时器执行后，在投递一次2秒的定时器\r\n\r\n\r\n2. What did you expect to see?\r\n\r\n第三次定时器，在2秒的时候被执行\r\n\r\n\r\n3. What did you see instead?\r\n\r\n第三次的定时器，没有在2秒的时候执行，而是根据15秒的定时器剩余多少时间执行被推迟\r\n\r\n\r\n4. What version of Swoole are you using (`php --ri swoole`)?\r\n\r\n4.0.2\r\n\r\n\r\n5. What is your machine environment used (including version of kernel & php & gcc) ? \r\n\r\nLinux version 2.6.32-696.6.3.el6.x86_64 (mockbuild@c1bl.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) )\r\n\r\nPHP 7.1.18 (cli) (built: Jun  2 2018 07:10:30) ( NTS )\r\nCopyright (c) 1997-2018 The PHP Group\r\nZend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies\r\n\r\n\r\n6. If you are using ssl, what is your openssl version?\r\n\r\nN/A\r\n\r\n![tim 20180831094058](https://user-images.githubusercontent.com/19575019/44888277-d501b980-ad02-11e8-844d-cb7c6e6e9a22.png)\r\n![tim 20180831094757](https://user-images.githubusercontent.com/19575019/44888306-f95d9600-ad02-11e8-9e36-b37f9d1f75b6.png)\r\n"}}
{"actor":{"display_login":"goldfishhomes"}}