mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-10 21:03:56 +08:00
reduce cache ttl to 3 seconds
This commit is contained in:
parent
42d5784ef3
commit
700e945008
@ -1,6 +1,6 @@
|
|||||||
import { CipherView } from '../view';
|
import { CipherView } from '../view';
|
||||||
|
|
||||||
const CacheTTL = 5000;
|
const CacheTTL = 3000;
|
||||||
|
|
||||||
export class SortedCiphersCache {
|
export class SortedCiphersCache {
|
||||||
private readonly sortedCiphersByUrl: Map<string, Ciphers> = new Map<string, Ciphers>();
|
private readonly sortedCiphersByUrl: Map<string, Ciphers> = new Map<string, Ciphers>();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user