Make the sql statement that clears old container logs more efficient by
authorWard Vandewege <ward@curii.com>
Mon, 14 Mar 2022 18:25:08 +0000 (14:25 -0400)
committerWard Vandewege <ward@curii.com>
Mon, 14 Mar 2022 18:25:08 +0000 (14:25 -0400)
commitdc2b31ec8275995bde3ea855e66bb0137d8a4b62
tree03be9da675c6c1eee23e9b33e8ce0cc149d41740
parent601093eb9061c559674721f329fbac6dac2077a2
Make the sql statement that clears old container logs more efficient by
using now() instead of clock_timestamp(). The former is calculated once
per transaction.

refs #18763

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
services/api/lib/tasks/delete_old_container_logs.rake