mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-05 01:11:32 +02:00
More code rip out
This commit is contained in:
@@ -12,7 +12,7 @@ import type { Message, MessagePath } from './types';
|
||||
export const MAX_CACHED_CONVERSATIONS = 20;
|
||||
export const MAX_MESSAGES_PER_ENTRY = 200;
|
||||
|
||||
export interface CacheEntry {
|
||||
interface CacheEntry {
|
||||
messages: Message[];
|
||||
seenContent: Set<string>;
|
||||
hasOlderMessages: boolean;
|
||||
@@ -139,8 +139,3 @@ export function remove(id: string): void {
|
||||
export function clear(): void {
|
||||
cache.clear();
|
||||
}
|
||||
|
||||
/** Get current cache size (for testing). */
|
||||
export function size(): number {
|
||||
return cache.size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user