We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e41fe commit 5e2d004Copy full SHA for 5e2d004
src/main/AsyncTaskAcquirer.php
@@ -15,7 +15,7 @@ class AsyncTaskAcquirer
15
*/
16
public static function get($taskKey) {
17
$taskKey = 'async_task_'.$taskKey;
18
- if (Cache::has($taskKey)) {
+ if (!Cache::has($taskKey)) {
19
throw new Exception('任务不存在');
20
}
21
return Cache::get($taskKey);
0 commit comments