projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f67b1
)
[Title] Modified the way to set next expired-time in scheduler
author
donghee yang
<donghee.yang@samsung.com>
Fri, 17 Aug 2012 07:03:21 +0000
(16:03 +0900)
committer
donghee yang
<donghee.yang@samsung.com>
Fri, 17 Aug 2012 07:03:21 +0000
(16:03 +0900)
src/common/ScheduledActionHandler.rb
patch
|
blob
|
history
diff --git
a/src/common/ScheduledActionHandler.rb
b/src/common/ScheduledActionHandler.rb
index 9a51cd0f9fbe5d03870dff92e215b5abf1572921..2c226d3b1c85dcc86178f22bbad4142065dc6d3e 100644
(file)
--- a/
src/common/ScheduledActionHandler.rb
+++ b/
src/common/ScheduledActionHandler.rb
@@
-78,7
+78,9
@@
class ScheduledActionHandler
# if periodic action, renew the time
# else remove it from list
if action.period != 0 then
- action.time = action.time + action.period
+ while current_time > action.time
+ action.time = action.time + action.period
+ end
else
@actions.delete(action)
end