Revision: 14775
          http://gate.svn.sourceforge.net/gate/?rev=14775&view=rev
Author:   valyt
Date:     2011-12-15 15:19:24 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
synchronise access to the map of runners.

Modified Paths:
--------------
    
mimir/trunk/mimir-web/grails-app/services/gate/mimir/web/SearchService.groovy

Modified: 
mimir/trunk/mimir-web/grails-app/services/gate/mimir/web/SearchService.groovy
===================================================================
--- 
mimir/trunk/mimir-web/grails-app/services/gate/mimir/web/SearchService.groovy   
    2011-12-15 15:18:37 UTC (rev 14774)
+++ 
mimir/trunk/mimir-web/grails-app/services/gate/mimir/web/SearchService.groovy   
    2011-12-15 15:19:24 UTC (rev 14775)
@@ -33,7 +33,7 @@
   /**
    * A map holding the currently active query runners. 
    */
-  Map<String, QueryRunner> queryRunners = [:]
+  Map<String, QueryRunner> queryRunners = [:].asSynchronized()
   
   public QueryRunner getQueryRunner(String id){
     return queryRunners[id]

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to