mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
put a few things on high queue
This commit is contained in:
1 parent
0aa2ba6923
commit
275edb6c1f
13 files changed
+35
-30
No files matched your search
@@ -1358,7 +1358,7 @@ class ApplicationsController extends Controller
|
||||
deleteVolumes: $request->query->get('delete_volumes', true),
|
||||
dockerCleanup: $request->query->get('docker_cleanup', true),
|
||||
deleteConnectedNetworks: $request->query->get('delete_connected_networks', true)
|
||||
);
|
||||
)->onQueue('high');
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Application deletion request queued.',
|
||||
@@ -2482,7 +2482,7 @@ class ApplicationsController extends Controller
|
||||
if (! $application) {
|
||||
return response()->json(['message' => 'Application not found.'], 404);
|
||||
}
|
||||
StopApplication::dispatch($application);
|
||||
StopApplication::dispatch($application)->onQueue('high');
|
||||
|
||||
return response()->json(
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user