4591: Websockets server fetches fewer logs at a time.
[arvados.git] / services / api / lib / eventbus.rb
index 96bc8665f3e302ab38a54d96ae48c58061e7ce38..d1809e5ec5a0448ce2cbfde34de1f43217477841 100644 (file)
@@ -112,7 +112,7 @@ class EventBus
 
         # Execute query and actually send the matching log rows
         count = 0
-        limit = 100
+        limit = 20
 
         logs.limit(limit).each do |l|
           ws.send(l.as_api_response.to_json)