feat: implement automatic removal of old request cost data

This commit is contained in:
Laisky.Cai
2024-12-22 12:23:32 +00:00
parent a9604fd59c
commit 3e82e76b03
2 changed files with 31 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ import (
"time"
)
// GetTimestamp get current timestamp in seconds
func GetTimestamp() int64 {
return time.Now().Unix()
}