Changeset 377

Show
Ignore:
Timestamp:
08/27/08 15:44:53 (10 years ago)
Author:
cseifert
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • capture-hpc/trunk/capture-server/capture/UrlGroupsController.java

    r367 r377  
    1010    private Thread queueMonitor; 
    1111 
     12 
    1213    private UrlGroupsController() { 
    1314        urlGroupQueue = new LinkedBlockingDeque<UrlGroup>(); 
     
    1516        visitingList = new ArrayList<UrlGroup>(); 
    1617 
    17         queueMonitor = new Thread(this, "QueueMonitor"); 
    18         queueMonitor.start(); 
     18        boolean terminate = Boolean.parseBoolean(ConfigManager.getInstance().getConfigOption("terminate")); 
     19        if(terminate) { 
     20            queueMonitor = new Thread(this, "QueueMonitor"); 
     21            queueMonitor.start(); 
     22        } 
     23 
     24 
    1925    } 
    2026