#FEATURE by cg
class: GitSourceCodeManager
added: #gitCommandSemaphore
changed: #initialize
--- a/GitSourceCodeManager.st Fri Jun 03 11:46:39 2016 +0200
+++ b/GitSourceCodeManager.st Fri Jun 03 11:50:34 2016 +0200
@@ -65,10 +65,17 @@
DisabledModules := nil.
!
+gitCommandSemaphore
+ GitCommandSemaphore isNil ifTrue:[
+ GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'. "/ at most 10 git activities concurrently
+ ].
+ ^ GitCommandSemaphore
+!
+
initialize
| s |
- GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'. "/ at most 10 git activities concurrently
+ "/ GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'. "/ at most 10 git activities concurrently
GitCommitOptions := ''.
GitUpdateOptions := ''.
DisabledModules := nil.