[snowpatch] [PATCH] patchwork: fix polling sleep time
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Fri Feb 3 15:19:49 AEDT 2017
From: Russell Currey <ruscur at russell.cc>
Our documentation says that patchwork polling sleep time is expressed in
minutes. Make the code actually do that...
Signed-off-by: Russell Currey <ruscur at russell.cc>
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
already merged, for information only
---
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index d0e0b49..af488f3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -376,6 +376,6 @@ fn main() {
}
}
info!("Finished testing new revisions, sleeping.");
- thread::sleep(Duration::new(settings.patchwork.polling_interval, 0));
+ thread::sleep(Duration::new(settings.patchwork.polling_interval * 60, 0));
}
}
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the snowpatch
mailing list