[gnome-hwtest] Increase the power-off time to 5 seconds



commit a40f3e70ed5f02fb079652452363359eb9e19460
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jul 22 17:35:16 2014 -0400

    Increase the power-off time to 5 seconds
    
    Before updating or testing, wait 5 seconds with the power off before
    turning on the machine. There hasn't been any observed actual problems
    with just a one second off time, but 5 seconds seems safer.

 js/controller.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/controller.js b/js/controller.js
index cf6490c..f07f663 100644
--- a/js/controller.js
+++ b/js/controller.js
@@ -289,7 +289,7 @@ const UpdateJob = Lang.Class({
         machine.writeParams(this.partition);
 
         machine.powerOff();
-        Mainloop.timeout_add(1000, function() {
+        Mainloop.timeout_add(5000, function() {
             next();
             return false;
         });
@@ -370,7 +370,7 @@ const TestJob = Lang.Class({
         machine.writeParams(this.partition, this.testset);
 
         machine.powerOff();
-        Mainloop.timeout_add(1000, function() {
+        Mainloop.timeout_add(5000, function() {
             next();
             return false;
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]