findymail-mcp 0.1.6 → 0.1.7
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/package.json +1 -1
- package/src/tools.js +2 -2
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -203,7 +203,7 @@ export function registerTools(server) {
|
|
|
203
203
|
log(`intellimatch: search started with hash ${hash}`);
|
|
204
204
|
|
|
205
205
|
// 2. Poll STATUS endpoint
|
|
206
|
-
const maxAttempts =
|
|
206
|
+
const maxAttempts = 900; // 30 minutes max
|
|
207
207
|
const pollInterval = 2000; // 2 seconds
|
|
208
208
|
|
|
209
209
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
@@ -257,7 +257,7 @@ export function registerTools(server) {
|
|
|
257
257
|
return formatResponse({
|
|
258
258
|
status: "timeout",
|
|
259
259
|
hash,
|
|
260
|
-
message: "Search is still processing after
|
|
260
|
+
message: "Search is still processing after 30 minutes. Use the hash to check status later.",
|
|
261
261
|
});
|
|
262
262
|
} catch (error) {
|
|
263
263
|
return formatError(error.message);
|