Displaying 2 results from an estimated 2 matches for "polling_scheduler".
2008 Jan 17
3
CruiseControl problem. Broken Pipe?
...n.rb:57:in `update''
./script/../config/../app/models/project.rb:277:in
`update_project_to_revision''
./script/../config/../app/models/project.rb:293:in `build''
./script/../config/../app/models/project.rb:209:in
`build_if_necessary''
./script/../config/../app/models/polling_scheduler.rb:13:in `run''
./script/builder:79
./script/builder:78:in `catch''
./script/builder:78
script/../config/../cruise:14:in `load''
script/../config/../cruise:14:in `builder''
script/../config/../cruise:68:in `send''
script/../config/../cruise:68
/usr/lib/ruby/1...
2008 Jan 31
1
thoughtworks site down? / another tiny patch for Rails 2 compatibility
...naws.com/giles/ccrb_duration_patch.jpg
(Sorry to submit my patch in JPEG format but you know what they say,
anything for a weird life.)
The changes are on lines 18 and 27: ".value" added to the end of
attr_accessor calls to Configuration, passed as args to sleep. (The
file is app/models/polling_scheduler.rb.) The reason is that
30.seconds (inside app/models/configuration.rb) won''t return a time
interval any more, but an ActiveSupport::Duration, which has a value
attribute which is a time interval.
I''m still having issues running it under Rails 2, but this fix gets
the builder loo...