996635's recent timeline updates
996635

996635

V2EX member #36550, joined on 2013-03-25 11:58:26 +08:00
Per 996635's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
996635's recent replies
@nc4697 老哥活动还在吗?
关键词:HMM
Mar 15, 2024
Replied to a topic by junwind 程序员 大佬们好, JWT 如何防止多端登录 ?
防止多端登录和 JWT 没关系, 后端维护 token 的生效状态即可
Jan 18, 2024
Replied to a topic by well775397252 PHP 求指点 PHP 内存泄露排查
FPM 直接设置 max_requests 低一些, 会自动销毁并新建。
Aug 3, 2023
Replied to a topic by siwenyu002 程序员 求助,营销公众号文章编辑器
同求
Aug 3, 2023
Replied to a topic by ben548 Redis redis 怎么裁剪 zset 只保留排名前 100 的数据
gpt:
要删除 Redis ZSet 中排名前 100 名以外的元素,您可以使用 Redis 的 ZRemRangeByRank 命令。这是一个例子,假设您的 ZSet 名称为 top_100_scores:
# 删除排名前 100 名以外的元素
redis_client.zremrangebyrank(b'top_100_scores', 100, None)
这将删除排名大于 100 的所有元素。请注意,这个命令将不会影响排名前 100 的元素。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   867 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 22:01 · PVG 06:01 · LAX 15:01 · JFK 18:01
♥ Do have faith in what you're doing.