我将Node.js与Express.js和Redis结合使用。我通过递增rediskey来记录站点组件的正常运行时间。我想在当前正常运行时间>当前正常运行时间记录后更新uptimerecord:tracker键,但不知何故它没有更新它并用false评估uptimeTracker>uptimeRecordTracker即使它是真的。有什么我遗漏的吗?谢谢!db.get("uptime:tracker",function(err,uptimeTracker){db.get("uptimerecord:tracker",function(err,uptimeRecordTracker){co
我将Node.js与Express.js和Redis结合使用。我通过递增rediskey来记录站点组件的正常运行时间。我想在当前正常运行时间>当前正常运行时间记录后更新uptimerecord:tracker键,但不知何故它没有更新它并用false评估uptimeTracker>uptimeRecordTracker即使它是真的。有什么我遗漏的吗?谢谢!db.get("uptime:tracker",function(err,uptimeTracker){db.get("uptimerecord:tracker",function(err,uptimeRecordTracker){co