GitHub user wangli1426 opened a pull request:
https://github.com/apache/storm/pull/680
Update timer.clj
Issue description: The timer thread calculates the delay to schedule the
head of the queue and sleeps accordingly. However, if a new event with high
priority is inserted at the head of the queue during the sleep, this event
cannot be scheduled in time.
Solution: Give a upper bound to the sleeping time, to guarantee a bounded
response time for detecting new events.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangli1426/storm master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/680.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #680
----
commit d1a6f4a753661f7e825eeec0c51782462fca4d5f
Author: Li Wang <[email protected]>
Date: 2015-08-12T14:00:15Z
Update timer.clj
Give a upper bound to the sleeping time, to guarantee a bounded response
time for detecting new events.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---