[zorg] r206405 - Hopefully fix buildbot issues with database locks by	serializing buildbots use of sqlite. Server has been hanging on	occasion because of this issue. Thanks to David Dean for this patch.
    Chris Matthews 
    cmatthews5 at apple.com
       
    Wed Apr 16 10:40:40 PDT 2014
    
    
  
Author: cmatthews
Date: Wed Apr 16 12:40:40 2014
New Revision: 206405
URL: http://llvm.org/viewvc/llvm-project?rev=206405&view=rev
Log:
Hopefully fix buildbot issues with database locks by serializing buildbots use of sqlite.  Server has been hanging on occasion because of this issue. Thanks to David Dean for this patch.
Modified:
    zorg/trunk/buildbot/llvmlab/master/master.cfg
Modified: zorg/trunk/buildbot/llvmlab/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/master.cfg?rev=206405&r1=206404&r2=206405&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/master.cfg (original)
+++ zorg/trunk/buildbot/llvmlab/master/master.cfg Wed Apr 16 12:40:40 2014
@@ -53,7 +53,7 @@ import config
 
 # This specifies what database buildbot uses to store change and scheduler
 # state.
-c['db_url'] = "sqlite:///state.sqlite"
+c['db_url'] = "sqlite:///state.sqlite?serialize_access=1"
 
 ####### BUILDSLAVES
 
@@ -115,4 +115,4 @@ c['projectName'] = "lab.llvm.org"
 c['projectURL'] = "http://lab.llvm.org/"
 c['buildbotURL'] = "http://lab.llvm.org:8013/"
 
-#c['prioritizeBuilders'] = config.builders.prioritizeBuilders
\ No newline at end of file
+#c['prioritizeBuilders'] = config.builders.prioritizeBuilders
    
    
More information about the llvm-commits
mailing list