Ignore:
Timestamp:
Apr 4, 2012, 12:30:37 AM (9 years ago)
Author:
goya
Message:

Revert de r2648

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/model/solr/SolrCommands.class.php

    r2648 r2649  
    4646
    4747  private function protect() {
    48 #    if (! $this->semaphore) {
    49       $this->semaphore = sem_get(self::getSemId(), 1, 0666, -1);
    50 #    }
    51     sem_acquire($this->semaphore);
     48    if (! $this->semaphore) {
     49      $this->semaphore = sem_get(self::getSemId());
     50    }
     51    sem_acquire($this->semaphore, 1);
    5252  }
    5353
Note: See TracChangeset for help on using the changeset viewer.