Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2008-06-26 20:55:38


Author: troy
Date: 2008-06-26 20:55:38 EDT (Thu, 26 Jun 2008)
New Revision: 46758
URL: http://svn.boost.org/trac/boost/changeset/46758

Log:

Make time that you sleep between checks with the repository configurable.

Text files modified:
   branches/CMake/release/tools/build/CMake/BoostBuildSlave.cmake | 3 +++
   branches/CMake/release/tools/build/CMake/run_continuous_slave.py.in | 2 +-
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: branches/CMake/release/tools/build/CMake/BoostBuildSlave.cmake
==============================================================================
--- branches/CMake/release/tools/build/CMake/BoostBuildSlave.cmake (original)
+++ branches/CMake/release/tools/build/CMake/BoostBuildSlave.cmake 2008-06-26 20:55:38 EDT (Thu, 26 Jun 2008)
@@ -26,6 +26,9 @@
 
   set(BOOST_BUILD_SLAVE_HOSTNAME ""
     CACHE STRING "If set, don't report what python determines to be the FQDN of this host, report this string instead.")
+
+ set(BOOST_BUILD_SLAVE_SLEEP_DURATION "60"
+ CACHE STRING "Number of seconds to sleep between checks for updates from the repository.")
   
 endif(BOOST_BUILD_SLAVE)
 

Modified: branches/CMake/release/tools/build/CMake/run_continuous_slave.py.in
==============================================================================
--- branches/CMake/release/tools/build/CMake/run_continuous_slave.py.in (original)
+++ branches/CMake/release/tools/build/CMake/run_continuous_slave.py.in 2008-06-26 20:55:38 EDT (Thu, 26 Jun 2008)
@@ -29,7 +29,7 @@
             os.system('make -i slave-start test slave-finish')
     else:
         print "No updates."
- time.sleep(5)
+ time.sleep(@BOOST_BUILD_SLAVE_SLEEP_DURATION@)
 
         
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk