Skip to content

Commit

Permalink
Bump to 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed May 22, 2024
1 parent d08c8aa commit 6a1a1a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.12.2
## 0.13.0

- Only throw in `.sync()` on closed database if the force parameter is true.
- Make all relevant methods (`.get()`, `.set()`, `.iterate()`, `.listAll()` ...)
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/kv",
"version": "0.12.2",
"version": "0.13.0",
"exports": {
".": "./mod.ts"
},
Expand Down
3 changes: 2 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
export const LOCK_DEFAULT_MAX_RETRIES = 32;
export const LOCK_DEFAULT_INITIAL_RETRY_INTERVAL_MS = 30; // Increased with itself on each retry, so the actual retry interval is 20, 40, 60 etc. 32 and 20 become about 10 seconds total.
export const LOCK_STALE_TIMEOUT_MS = 60_000;
export const LEDGER_CURRENT_VERSION: string = "B012";
export const LEDGER_CURRENT_VERSION: string = "B013";
export const SUPPORTED_LEDGER_VERSIONS: string[] = [
LEDGER_CURRENT_VERSION,
"B011",
"B012",
];
export const LEDGER_MAX_READ_FAILURES = 10;
export const LEDGER_PREFETCH_BYTES = 2_048;
Expand Down

0 comments on commit 6a1a1a9

Please sign in to comment.