Skip to content

Commit 4e657e8

Browse files
committed
fix: 修复漏洞
1 parent 93ad9b2 commit 4e657e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ async def callback(data: List[Any]):
393393
hits=humanize.intcomma(counter["hits"]),
394394
size=humanize.naturalsize(counter["bytes"], binary=True),
395395
)
396-
writeHits(self.router.counters["hits"], self.router.counters["bytess"])
396+
writeHits(self.router.counters["hits"], self.router.counters["bytes"])
397397
self.router.counters["bytes"] -= counter["bytes"]
398398
self.router.counters["hits"] -= counter["hits"]
399399
if not self.scheduler:

0 commit comments

Comments
 (0)