battery-business/src/main/java/com/battery/business/service/impl/PushIngestAdapter.java
@@ -213,7 +213,8 @@ java.util.Date receivedAt = records.selectHeartbeatAt(config.adapterCode()); if (receivedAt == null) throw new DeviceAdapterException("SOURCE_OFFLINE", "尚未收到取数程序的推送:请确认程序已启动并指向 " + config.host() + ":" + config.port(), null); "尚未收到取数程序的推送:请确认 " + config.host() + " 那台机器上的取数程序已启动,并指向本系统的接收端点", null); Duration staleAfter = staleAfter(); Duration silent = Duration.between(receivedAt.toInstant(), clock.instant()); if (silent.compareTo(staleAfter) > 0)