projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
4591: Websockets server fetches fewer logs at a time.
[arvados.git]
/
services
/
api
/
lib
/
eventbus.rb
diff --git
a/services/api/lib/eventbus.rb
b/services/api/lib/eventbus.rb
index 96bc8665f3e302ab38a54d96ae48c58061e7ce38..d1809e5ec5a0448ce2cbfde34de1f43217477841 100644
(file)
--- a/
services/api/lib/eventbus.rb
+++ b/
services/api/lib/eventbus.rb
@@
-112,7
+112,7
@@
class EventBus
# Execute query and actually send the matching log rows
count = 0
- limit =
10
0
+ limit =
2
0
logs.limit(limit).each do |l|
ws.send(l.as_api_response.to_json)