findymail-mcp 0.1.5 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "findymail-mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "MCP server for Findymail - Find verified B2B emails, phone numbers, and company data",
5
5
  "type": "module",
6
6
  "main": "src/stdio.js",
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 = 60; // 2 minutes max
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 2 minutes. Use the hash to check status later.",
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);