Kiln » KilnSupportScripts Powershell Scripts to help monitor a Kiln environment. Contact Fog Creek support before using. Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

if we catch the exception, return.

Changeset f463f3a47be7

Parent b458cec4be8a

by Profile picture of User 476Ben McCormack <benm@fogcreek.com>

Changes to one file · Browse files at f463f3a47be7 Showing diff from parent b458cec4be8a Diff from another changeset...

Change 1 of 1 Show Entire File checkBackend.ps1 Stacked
 
51
52
53
 
54
55
56
57
58
59
 
60
61
62
 
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@@ -51,12 +51,14 @@
  }   catch {   LogOrWrite "Could not find Kiln Repositories Directory: $kilnRepositoriesDir" $logFile + return   }   try {   $miniRedis = (Resolve-Path ($kilnRepo + "\miniredis.db") -ErrorAction Stop).path   }   catch {   LogOrWrite "Could not find miniredis.db file in $kilnRepo" $logFile + return   }   $lenMiniRedis = (get-childitem -path $miniRedis).length   LogOrWrite "The size of miniredis.db is: $lenMiniRedis" $logFile