mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 15:44:45 +02:00
Increase cache
This commit is contained in:
parent
8b060e8834
commit
dd8f28b864
@ -16,7 +16,7 @@ class ServerContainersController extends Controller
|
|||||||
{
|
{
|
||||||
$status = fluent($request->json()->all())->get('data.new_state');
|
$status = fluent($request->json()->all())->get('data.new_state');
|
||||||
|
|
||||||
cache()->set("servers.$server->uuid.container.status", $status, now()->addMinute());
|
cache()->set("servers.$server->uuid.container.status", $status, now()->addHour());
|
||||||
|
|
||||||
return new JsonResponse([]);
|
return new JsonResponse([]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user