[gnome-hwtest] Increase the power-off time to 5 seconds
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-hwtest] Increase the power-off time to 5 seconds
- Date: Tue, 22 Jul 2014 21:37:58 +0000 (UTC)
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]