#1702: Scheduler doesn't ever shut down if interval_task was executing when
interrupt sent
------------------------+---------------------------------------------------
Reporter: xentac | Owner: Chris Arndt
Type: defect | Status: assigned
Priority: low | Milestone: 1.1
Component: TurboGears | Version: 1.0.4.2
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by Chris Arndt):
* owner: anonymous => Chris Arndt
* priority: normal => low
* status: new => assigned
Comment:
Sorry, I can't reproduce this.
{{{
from turbogears import scheduler
def do_something():
print "XXXXXXXXXXXXXXXXX Hello world."
time.sleep(20)
print "XXXXXXXXXXXXXXXXX Hello again."
scheduler.add_interval_task(action=do_something, taskname='do_something',
initialdelay=0, interval=10)
}}}
Killing TH with Ctrl-C shuts down the scheduler normally. Can you post
some code, which exhibits the problem?
--
Ticket URL: <http://trac.turbogears.org/ticket/1702#comment:5>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---