mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update: add queue api
This commit is contained in:
		| @@ -23,7 +23,7 @@ use Laravel\Horizon\Contracts\MasterSupervisorRepository; | ||||
|  | ||||
| class SystemController extends Controller | ||||
| { | ||||
|     public function getStatus() | ||||
|     public function getSystemStatus() | ||||
|     { | ||||
|         return response([ | ||||
|             'data' => [ | ||||
| @@ -33,6 +33,11 @@ class SystemController extends Controller | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|     public function getQueueStatus() | ||||
|     { | ||||
|  | ||||
|     } | ||||
|  | ||||
|     protected function getScheduleStatus():bool | ||||
|     { | ||||
|         return (time() - 120) < Cache::get(CacheKey::get('SCHEDULE_LAST_CHECK_AT', null)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user