Skip to content

Commit

Permalink
docs: tweaked a few code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshaf committed Nov 26, 2024
1 parent a4bce1a commit b3def23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/idb-cache/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ export interface IDBCacheConfig {
*/
debug?: boolean;
/**
* Milliseconds after which cached items are considered eligible
* for removal during garbage collection.
* Milliseconds after which cached items are considered eligible for removal.
*/
maxAge?: number;
/**
Expand Down Expand Up @@ -233,7 +232,8 @@ export class IDBCache implements IDBCacheInterface {
}

/**
* Cleans up the cache by removing expired items, flushing busted cache items, and enforcing the maxTotalChunks limit.
* Cleans up the cache by removing expired items, flushing busted cache items,
* and enforcing the maxTotalChunks limit.
* @throws {DatabaseError} If there is an issue accessing the database.
*/
public async cleanup(): Promise<void> {
Expand Down

0 comments on commit b3def23

Please sign in to comment.