mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: clean unused images only after 24hrs (local-only) (#5839)
* feat: clean unused images only after 24hrs (local-only) * fix test * make optional for now
This commit is contained in:
parent
938ce241ff
commit
b91158198e
7 changed files with 48 additions and 8 deletions
|
@ -5243,6 +5243,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
id: fileId,
|
||||
dataURL,
|
||||
created: Date.now(),
|
||||
lastRetrieved: Date.now(),
|
||||
},
|
||||
};
|
||||
const cachedImageData = this.imageCache.get(fileId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue