mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
The column-family is already looked up as the first line in the method. No need to repeat that lookup in the lambda passed to `run_when_memory_available()`, we can just capture the reference to the already obtained column-family object. These objects are safe to reference, they don't just disappear in the middle of an operation. Signed-off-by: Botond Dénes <bdenes@scylladb.com> Message-Id: <20200327140827.128647-1-bdenes@scylladb.com>
96 KiB
96 KiB