feat(batch10): task4 wire ocsp cache load save and server lifecycle
This commit is contained in:
@@ -418,6 +418,8 @@ public sealed partial class NatsServer
|
||||
return (null, ocspError);
|
||||
}
|
||||
|
||||
s.InitOCSPResponseCache();
|
||||
|
||||
// Gateway (stub — session 16).
|
||||
// s.NewGateway(opts) — deferred
|
||||
|
||||
@@ -995,6 +997,8 @@ public sealed partial class NatsServer
|
||||
SetDefaultSystemAccount();
|
||||
}
|
||||
|
||||
StartOCSPResponseCache();
|
||||
|
||||
// Signal startup complete.
|
||||
_startupComplete.TrySetResult();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user