优化代码

This commit is contained in:
GoEdgeLab
2024-03-22 09:21:45 +08:00
parent aef4abdbdd
commit 75a4cc490f
2 changed files with 5 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ func (this *APIStream) handleWriteCache(message *pb.NodeStreamMessage) error {
storage.AddToList(&caches.Item{
Type: writer.ItemType(),
Key: msg.Key,
ExpiredAt: expiredAt,
ExpiresAt: expiredAt,
HeaderSize: writer.HeaderSize(),
BodySize: writer.BodySize(),
})