Questions tagged [moped]

62 questions
0
votes
2 answers

unable to catch ruby exception

Having the following, long running rake batch: class SyncStarredRepo include Mongoid::Document def self.update User.all.map do |user| if user.email != "admin@gitwatcher.com" begin conn = Faraday.new…
Luca G. Soave
  • 12,271
  • 12
  • 58
  • 109
0
votes
0 answers

Why is Mongoid/Moped throwing Timeout::Error to Airbrake in production Rake tasks?

I'm having a problem on my production installation. I have several scheduled rake tasks that run successfully. However, I've been getting MANY Timeout::Error: execution expired emails from Airbrake. But, here's the weird part: the Rake tasks all…
Ben Crouse
  • 8,290
  • 5
  • 35
  • 50
1 2 3 4
5