aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/storage.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/storage.rb b/lib/storage.rb
index 9045a0b..da9e8ad 100644
--- a/lib/storage.rb
+++ b/lib/storage.rb
@@ -68,6 +68,9 @@ module Ag::Storage
}
}
})
+
+ # Give elasticsearch some time to process the new index
+ sleep 1
end
def get_content(message)