Skip to content

Commit

Permalink
Updated to global dispatch function
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin.schmick committed Aug 26, 2022
1 parent ac5f515 commit e537b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/DebouncedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function handle()
$lock = tap(Cache::lock($this->getCacheKey(), 6))->block(6);

try {
$this->dispatch($this->_jobToDebounce);
dispatch($this->_jobToDebounce);
} finally {
Cache::forget($this->getMaximumWaitTimeKey());
Cache::forget($this->getMinimumWaitTimeKey());
Expand Down

0 comments on commit e537b96

Please sign in to comment.