11960: Get the full list of old IDs up front in sendOldEvents.
authorTom Clegg <tom@curoverse.com>
Thu, 13 Jul 2017 21:59:22 +0000 (17:59 -0400)
committerTom Clegg <tom@curoverse.com>
Thu, 13 Jul 2017 21:59:22 +0000 (17:59 -0400)
commitd3700e50bcaa9db177346199298913b54e37a2d5
tree220bd81a94d1d60c0182824238cc7edfabcd9f5e
parent938a0cc22ad9d520c653b8b41d5b1bb2163a1020
11960: Get the full list of old IDs up front in sendOldEvents.

This avoids keeping the "get list of log IDs" database query open
while each log row gets looked up, queued, permission-checked,
serialized, and sent over the wire to the client.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>
services/ws/session_v0.go