Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have an eviction policy so if the cache is full, an entry may be deleted. #322

Open
woody-apple opened this issue Jan 25, 2022 · 1 comment

Comments

@woody-apple
Copy link
Owner

One policy may be Least-time-to-live


// TODO: have an eviction policy so if the cache is full, an entry may be deleted.
// One policy may be Least-time-to-live
CHIP_ERROR Insert(PeerId peerId, const Inet::IPAddress & addr, uint16_t port, Inet::InterfaceId iface, uint32_t TTLms)
{
const uint64_t currentTime = mTimeSource.GetCurrentMonotonicTimeMs();


This issue was generated by todo-issue based on a TODO comment in f5cb2a3.
bzbarsky-apple pushed a commit that referenced this issue Jul 29, 2024
… WiFi combinations (project-chip#34410)

* chore: Update network name in LCD status screen

* Merge redundent event handler

* chore: Update LCD status screen to include network name from DeviceNetworkInfo

* Adds auto update of LCD (#322)

* Add an optional `withLock` parameter to `UpdateLCDStatusScreen` to control concurrent access to the chip stack.

* Added GetScreen API

* chore: Update LCD status screen to include network name from DeviceNetworkInfo

* Align `PostEvent`

* chore: Set LCD screen in BaseApplication::OnPlatformEvent

---------

Co-authored-by: Rohan S <[email protected]>

---------

Co-authored-by: Rohan S <[email protected]>
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant