To create a capped list that never grows beyond 100 elements, you can call LTRIM after each call to LPUSH : > LPUSH notifications:user:1 "You've got mail ...
確定! 回上一頁