Skip to content

Commit

Permalink
Merge branch 'master' into 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Dec 11, 2017
2 parents cb4ec58 + e1ba204 commit dbf7875
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 242 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,25 @@ class ExampleCommand extends Command
}
```

### Custom mutex file storage

If you're using `file` strategy, mutex files will be stored at `storage/app` folder, by default. However, you can change storage
folder by overriding `getMutexFileStorage` method in your command:

```php
class ExampleCommand extends Command
{
use WithoutOverlapping;

public function getMutexFileStorage()
{
return storage_path('my/custom/path');
}

// ...
}
```

## Troubleshooting

### Trait included, but nothing happens?
Expand Down
Loading

0 comments on commit dbf7875

Please sign in to comment.