This commit is contained in:
Jöran Malek 2023-11-26 01:52:30 +01:00
parent 4508324ff5
commit 583ae506d2

View file

@ -92,9 +92,9 @@ public abstract class KeaDhcpLeaseWatcher : IHostedService
{ {
await foreach (var @event in _eventChannel.Reader.ReadAllAsync(loopToken)) await foreach (var @event in _eventChannel.Reader.ReadAllAsync(loopToken))
{ {
// Guard for Deleted-events and moved-away events, // Guard for Deleted and renamed away events,
// both have to stop this reader immediately. // both have to stop this reader immediately.
// Just wait for the file being created/moved to _leaseFile. // Just wait for the file being created/renamed to _leaseFile.
// Described in [The LFC Process](https://kea.readthedocs.io/en/latest/arm/lfc.html#kea-lfc) // Described in [The LFC Process](https://kea.readthedocs.io/en/latest/arm/lfc.html#kea-lfc)
switch (@event) switch (@event)
{ {