@remit/data-ports 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { MessageItem } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* How long a `moving` or `deleting` row goes unwritten before nothing is left
|
|
4
|
+
* to settle it: well past three attempts on a 60 s visibility timeout.
|
|
5
|
+
*/
|
|
6
|
+
export declare const STRANDED_PLACEMENT_AFTER_MILLIS: number;
|
|
2
7
|
export type MessageSettlementFields = Pick<MessageItem, "status" | "syncStatus" | "abandonedMutation">;
|
|
3
8
|
/**
|
|
4
9
|
* Which mutation gave up on this row, and `none` where none did.
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { MessageMutation, MessageSyncStatus } from "@remit/domain-enums";
|
|
2
|
+
/**
|
|
3
|
+
* How long a `moving` or `deleting` row goes unwritten before nothing is left
|
|
4
|
+
* to settle it: well past three attempts on a 60 s visibility timeout.
|
|
5
|
+
*/
|
|
6
|
+
export const STRANDED_PLACEMENT_AFTER_MILLIS = 60 * 60 * 1000;
|
|
2
7
|
/**
|
|
3
8
|
* Which mutation gave up on this row, and `none` where none did.
|
|
4
9
|
*
|