fixed watchdog
This commit is contained in:
parent
8e148a35c1
commit
4b04794c5f
|
@ -70,7 +70,6 @@ public static partial class Db
|
||||||
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "<Pending>")]
|
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "<Pending>")]
|
||||||
private static async Task UpdateInstallationsAndDetailsFromVrm(Int32 _)
|
private static async Task UpdateInstallationsAndDetailsFromVrm(Int32 _)
|
||||||
{
|
{
|
||||||
sd_notify(0, "WATCHDOG=1");
|
|
||||||
var user = await GetVrmAccount();
|
var user = await GetVrmAccount();
|
||||||
var readOnlyInstallations = await user.GetInstallations();
|
var readOnlyInstallations = await user.GetInstallations();
|
||||||
|
|
||||||
|
@ -80,6 +79,7 @@ public static partial class Db
|
||||||
foreach (var installation in installations)
|
foreach (var installation in installations)
|
||||||
{
|
{
|
||||||
Console.WriteLine(installation.Name);
|
Console.WriteLine(installation.Name);
|
||||||
|
sd_notify(0, "WATCHDOG=1");
|
||||||
var details = await GetInstallationDetails(installation);
|
var details = await GetInstallationDetails(installation);
|
||||||
var ip = Ip(details);
|
var ip = Ip(details);
|
||||||
var updatedInstallation = new Installation(
|
var updatedInstallation = new Installation(
|
||||||
|
|
Loading…
Reference in New Issue