@remit/imap-worker 0.0.29 → 0.0.30
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.
- package/README.md +2 -1
- package/package.json +1 -1
- package/src/e2e-processor-shim.ts +2 -2
package/README.md
CHANGED
|
@@ -47,7 +47,8 @@ npm run cli -- -t SYNC_MESSAGE_BODY -a <accountId> -m <mailboxId> --messageIds i
|
|
|
47
47
|
|
|
48
48
|
| Variable | Required | Description |
|
|
49
49
|
| ----------------------------- | -------- | -------------------------------------------------------- |
|
|
50
|
-
| `
|
|
50
|
+
| `DATA_BACKEND` | Yes | Relational backend to run against (`sqlite`) |
|
|
51
|
+
| `SQLITE_DB_PATH` | Yes | Path to the shared SQLite database file |
|
|
51
52
|
| `SQS_QUEUE_URL_MAILBOXES` | Yes | FIFO queue URL for `SYNC_MAILBOXES` events |
|
|
52
53
|
| `SQS_QUEUE_URL_MESSAGES` | Yes | FIFO queue URL for `SYNC_MESSAGES` events |
|
|
53
54
|
| `SQS_QUEUE_URL_BODY` | Yes | FIFO queue URL for `SYNC_MESSAGE_BODY` events |
|
package/package.json
CHANGED
|
@@ -109,8 +109,8 @@ if (cluster.isPrimary) {
|
|
|
109
109
|
const queueName = new URL(queueUrl).pathname.split("/").pop();
|
|
110
110
|
const log = createLogger().child({ queue: queueName });
|
|
111
111
|
|
|
112
|
-
// The search-index queue
|
|
113
|
-
//
|
|
112
|
+
// The search-index queue is owned by the search-index-worker handler; every
|
|
113
|
+
// other queue is an imap operation.
|
|
114
114
|
const activeHandler: SQSHandler =
|
|
115
115
|
queueUrl === searchIndexQueueUrl ? searchIndexHandler : handler;
|
|
116
116
|
|