Changeset d81b4e4fa716…
Parent d30937bef3d5…
by Developer Wiki Admin Account
Changes to one file · Browse files at d81b4e4fa716 Showing diff from parent d30937bef3d5 Diff from another changeset...
@@ -38,6 +38,8 @@ $restartKss = $false
write "---------------- Restart Kiln Storage Service ----------------"
sc.exe stop "KilnStorageService"
+ # give the services time to clean up
+ sleep 5
sc.exe start "KilnStorageService"
}
$getQueueLength = $switchGetQueueLength
@@ -53,6 +55,8 @@ # Queue Service.
$getQueueLength = $false
$queueLength = get-queueLength
+ # give the queue some time to process
+ sleep 3
write "---------------- Get Kiln Queue Length ----------------"
write "KILN QUEUE LENGTH: $queueLength"
}
@@ -76,4 +80,4 @@ }
}
popd
-}
\ No newline at end of file+ }
|
Loading...