title: Meteor 1.7.0.5 : Taking more then 40 Sec time to call API
body: <p>In Meteor.js App while performing Meteor call method from client side taking too much time to connect meteor call method server side .</p>
  <ol>
  <li>we use Meteor 1.7.0.5</li>
  <li>MongoDB server version: 3.6.4</li>
  </ol>
  <blockquote>
  <p>Clent side:</p>
  </blockquote>
  <pre><code>searchListData()
  {
          console.log(&quot;searchDataVal&quot;,this.state.searchDataVal);
          console.log(&quot;Time Stamp&quot;,new Date());
          Meteor.call(&quot;getTestData&quot;,this.state.searchDataVal,(err,res)=&gt;{
              if(err){}else{
                  console.log(&quot;==&gt;&quot;,res);
                  console.log(&quot;res &quot;,new Date());
  
                  this.setState({
                      searchData : res,
                  });
              }
          });
  }
  </code></pre>
  <blockquote>
  <p>Server side =</p>
  </blockquote>
  <pre><code>'getTestData':function(searchDataVal){
           
            console.log(&quot; Time Stamp &quot;,new Date());
             
            console.log(&quot;search &quot;,searchDataVal);
             
            var data = Details.find({$or:[{Number:searchDataVal},{Name:searchDataVal}]},{sort: {createdAt: -1}}).fetch();
              
              return data;
                  
  }
  </code></pre>
  <blockquote>
  <p>Result Client side</p>
  </blockquote>
  <pre><code>searchListData /(?=.*00495).+/i
  
   Time Stamp  Thu Mar 25 2021 17:44:58 GMT+0530 (India Standard Time)
   
   ==&gt; true 
   res  Thu Mar 25 2021 17:45:49 GMT+0530 (India Standard Time)
  </code></pre>
  <blockquote>
  <p>result Server Side</p>
  </blockquote>
  <pre><code> Time Stamp 2021-03-25T 17:45:39.622Z
   search  /(?=.*00495).+/i
  </code></pre>