instance_eval' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:46:in
initialize'
from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:in new' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:in
eval' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:35:in
parse_file'
from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:162:in app' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:253:in
wrapped_app'
from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:204:in start' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands/server.rb:65:in
start'
from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:30:in block in <top (required)>' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:27:in
tap'
from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:27:in <top (required)>' from script/rails:6:in
require'
from script/rails:6:in `
Is it possible to set the timeout for the Sugar call ? if I run : c = SugarCRM::Contact.find_by_last_name 'Rossi' or any other call, and my connection is down, I will get a timeout error after a very long time !
How can I set this time ?
(anyway, I am running sugar calls in background :) )
thank you
Alexdesi