👔 Remove the activity timeout control, make client send heartbeat instead

This commit is contained in:
2025-07-29 17:06:19 +08:00
parent 83059374e9
commit 4246fea03f
2 changed files with 2 additions and 9 deletions

View File

@@ -18,7 +18,6 @@ public static class ServiceCollectionExtensions
var caCert = X509CertificateLoader.LoadCertificateFromFile(configuration["CaCert"]!);
handler.SslOptions = new SslClientAuthenticationOptions
{
// TODO: check the ca in the future, for now just trust it, i need sleep
RemoteCertificateValidationCallback = (sender, cert, chain, errors) => true
};
});
@@ -28,4 +27,4 @@ public static class ServiceCollectionExtensions
return services;
}
}
}