Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

use unix

p0ny7154be88d609
diff --git a/backend/runner/monitor/monitor.go b/backend/runner/monitor/monitor.go
index b9935fe536..f95409f9fb 100644
--- a/backend/runner/monitor/monitor.go
+++ b/backend/runner/monitor/monitor.go
@@ -61,7 +61,7 @@ func (r *MemoryMonitor) checkMemory(memoryThreshold uint64) {
runtime.ReadMemStats(&m)
if m.Sys >= memoryThreshold {
- now := time.Now().UnixMicro()
+ now := time.Now().Unix()
// Dump heap profile
heapFileName := filepath.Join(r.profile.DataDir, fmt.Sprintf("memory_dump_%d.prof", now))