Skip to content

Commit

Permalink
Unwanted sleep function removed
Browse files Browse the repository at this point in the history
  • Loading branch information
TSI-sangramdesai committed Feb 17, 2022
1 parent 176e3c8 commit 110e24d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public function deleteActivitiesCustom() {
if (!$this->lockingCache->hasKey($this->userId)) {
$this->lockingCache->set($this->userId, 'locked', 10);
$this->logger->debug('***********Lock applied for 10 seconds***************', ['app' => 'nmc_files_activity']);
sleep(1);
$sqlWhere = ' WHERE ' . " user='".$this->userId."'";

// Add galera safe delete chunking if using mysql
Expand Down

0 comments on commit 110e24d

Please sign in to comment.