Comments
This commit is contained in:
parent
4508324ff5
commit
583ae506d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue