Browse Source

prevent multi-thread execution #5

main
ghost 1 year ago
parent
commit
a499c363f6
  1. 3
      src/cli/document/clean.php

3
src/cli/document/clean.php

@ -1,5 +1,8 @@ @@ -1,5 +1,8 @@
<?php
// Prevent multi-thread execution
$semaphore = sem_get(crc32('yo.cli.document.clean'), 1);
// Load dependencies
require_once __DIR__ . '/../../../vendor/autoload.php';

Loading…
Cancel
Save