@bobfrankston/mailx-imap 0.1.54 → 0.1.55

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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -2981,7 +2981,13 @@ export class ImapManager extends EventEmitter {
2981
2981
  })());
2982
2982
  });
2983
2983
  await Promise.all(pending);
2984
- }, { slow: true });
2984
+ }, { slow: true, timeoutMs: 300_000 });
2985
+ // 5-min cap, not the 90s interactive default:
2986
+ // prefetch is background, and a 25-message body
2987
+ // chunk on a slow Dovecot legitimately runs past
2988
+ // 90s. The short cap was tripping the folder-error
2989
+ // cooldown 17×/session, so INBOX bodies stopped
2990
+ // prefetching entirely (Bob 2026-05-21 log).
2985
2991
  batchSucceeded = true;
2986
2992
  this.clearFolderErrors(accountId, folder.path);
2987
2993
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-imap",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@bobfrankston/mailx-types": "^0.1.18",
13
13
  "@bobfrankston/mailx-settings": "^0.1.22",
14
- "@bobfrankston/mailx-store": "^0.1.31",
14
+ "@bobfrankston/mailx-store": "^0.1.32",
15
15
  "@bobfrankston/iflow-direct": "^0.1.50",
16
16
  "@bobfrankston/tcp-transport": "^0.1.6",
17
17
  "@bobfrankston/smtp-direct": "^0.1.8",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@bobfrankston/mailx-types": "^0.1.18",
41
41
  "@bobfrankston/mailx-settings": "^0.1.22",
42
- "@bobfrankston/mailx-store": "^0.1.31",
42
+ "@bobfrankston/mailx-store": "^0.1.32",
43
43
  "@bobfrankston/iflow-direct": "^0.1.50",
44
44
  "@bobfrankston/tcp-transport": "^0.1.6",
45
45
  "@bobfrankston/smtp-direct": "^0.1.8",