Skip to content

Commit

Permalink
clear out websockets garbage from idb logs
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg authored Oct 5, 2024
1 parent b814c5e commit a35d90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/common/src/permalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function makeLog(): LichessLog {
const dbInfo: DbInfo = {
db: 'log--db',
store: 'log',
version: 2,
version: 3,
upgrade: (_: any, store: IDBObjectStore) => store?.clear(), // blow it all away when we rev version
};
const defaultLogWindow = 100;
Expand Down

0 comments on commit a35d90b

Please sign in to comment.