about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-16 20:12:22 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-16 20:13:03 -0700
commitf1b45e2f44f45122313abc88e139d49c0e39c7b7 (patch)
treec2dd95d57cd3fe3c977640661f5820db67be96a1 /lib
parent3c6aee0e33c53d0f270b1ceb40efe6ed29fa9232 (diff)
downloadraindrops-f1b45e2f44f45122313abc88e139d49c0e39c7b7.tar.gz
Those will cause Aggregate to raise Errno::EDOM
Diffstat (limited to 'lib')
-rw-r--r--lib/raindrops/watcher.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index f289970..8167dfd 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -243,6 +243,11 @@ class Raindrops::Watcher
     else
       not_found
     end
+    rescue Errno::EDOM
+      raise if defined?(retried)
+      retried = true
+      wait_snapshot
+      retry
   end
 
   def not_found