Limit list length in redis June 5, 2023 by Tarik After every lpush, call ltrim to trim the list to 10 elements See http://redis.io/commands/ltrim