Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 11, 2016
1 parent 501cae0 commit 9da2b39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/Lock/lib/Horde/Lock/Sql.php
Expand Up @@ -63,8 +63,7 @@ public function __construct($params = array())

parent::__construct($params);

/* Only do garbage collection if asked for, and then only 0.1% of the
* time we create an object. */
/* Only do garbage collection 0.1% of the time we create an object. */
if (substr(time(), -3) === '000') {
register_shutdown_function(array($this, 'doGC'));
}
Expand Down

0 comments on commit 9da2b39

Please sign in to comment.