Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9370 (assigned enhancement)

Opened 2 years ago

Last modified 1 year ago

[PATCH] [TEST] Add PeriodicalExecuter#restart

Reported by: juliocarlos Assigned to: mislav (accepted)
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: minor Keywords: ready
Cc:

Description

I added the method "restart" to PeriodicalExecuter so you can restart an instance of PeriodicalExecuter after a call to "stop" method. I hope this will be usefull to someone.

Attachments

prototype-periodicalexecuter.patch (383 bytes) - added by juliocarlos on 08/24/07 18:23:08.
restart.diff (1.5 kB) - added by mislav on 08/28/07 17:33:26.

Change History

08/24/07 18:23:08 changed by juliocarlos

  • attachment prototype-periodicalexecuter.patch added.

08/28/07 17:33:26 changed by mislav

  • attachment restart.diff added.

08/28/07 17:34:56 changed by mislav

  • keywords set to ready.
  • owner changed from sam to mislav.
  • status changed from new to assigned.
  • summary changed from Added restart method to PeriodicalExecuter to Add PeriodicalExecuter#restart.

09/18/07 21:44:17 changed by mislav

  • summary changed from Add PeriodicalExecuter#restart to [PATCH] Add PeriodicalExecuter#restart.

10/31/07 08:56:27 changed by samleb

+1 That would be sweet ! Maybe we could consider PeriodicalExecuter#isStarted too....

11/13/07 20:36:33 changed by juliocarlos

Can this be added to the current 1.6 version?

02/28/08 15:13:53 changed by kangax

  • summary changed from [PATCH] Add PeriodicalExecuter#restart to [PATCH] [TEST] Add PeriodicalExecuter#restart.