From 11b153d23c945b05550b19f31cbe4999fdc8640a Mon Sep 17 00:00:00 2001 From: MartinOscar <40749467+rmartinoscar@users.noreply.github.com> Date: Sat, 15 Mar 2025 19:28:15 +0100 Subject: [PATCH] Fix null `Node` `Stats` (#1075) * Make sure we are talking to the right wings using `getSystemInformation` as a gate keeper * Re use method Co-authored-by: Lance Pioch --------- Co-authored-by: Lance Pioch --- app/Models/Node.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Node.php b/app/Models/Node.php index c1c8a4a01..00bba17d8 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -364,6 +364,8 @@ class Node extends Model implements Validatable ]; try { + $this->systemInformation(); + return Http::daemon($this) ->connectTimeout(1) ->timeout(1)