diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2e6ef3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +snapshots.dat diff --git a/lib/config/config.go b/lib/config/config.go index 569f5a0..3e21da4 100644 --- a/lib/config/config.go +++ b/lib/config/config.go @@ -12,7 +12,7 @@ func GetConfiguration() DHConfig { return DHConfig{ DiskFetchFrequency: 5, - MemoryDumpFrequency: 36, + MemoryDumpFrequency: 16, MaxHistoryAge: 2592000, } diff --git a/lib/svc/service.go b/lib/svc/service.go index 0f9b22d..5017e46 100644 --- a/lib/svc/service.go +++ b/lib/svc/service.go @@ -126,6 +126,8 @@ func RunService() { if err != nil { fmt.Printf("Memory Dump Error: %s", err) } + + fmt.Println("Saved Snapshots to file") } }() } diff --git a/snapshots.dat b/snapshots.dat deleted file mode 100644 index a9cc778..0000000 Binary files a/snapshots.dat and /dev/null differ