mirror of
https://github.com/JustKato/drive-health.git
synced 2026-03-19 15:09:46 +02:00
Fixes
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
snapshots.dat
|
||||||
@@ -12,7 +12,7 @@ func GetConfiguration() DHConfig {
|
|||||||
|
|
||||||
return DHConfig{
|
return DHConfig{
|
||||||
DiskFetchFrequency: 5,
|
DiskFetchFrequency: 5,
|
||||||
MemoryDumpFrequency: 36,
|
MemoryDumpFrequency: 16,
|
||||||
MaxHistoryAge: 2592000,
|
MaxHistoryAge: 2592000,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,8 @@ func RunService() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Memory Dump Error: %s", err)
|
fmt.Printf("Memory Dump Error: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("Saved Snapshots to file")
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
snapshots.dat
BIN
snapshots.dat
Binary file not shown.
Reference in New Issue
Block a user