question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What conditions would cause `getLogs` requests to be "too broad" and "may get dropped"?

See original GitHub issue

The ethers provider.getLogs() documentation mentions the following:

Keep in mind that many backends will discard old events, and that requests which are too broad may get dropped as they require too many resources to execute the query.

I have two questions about that statement:

  1. Are there any specific conditions that make a request “too broad”
  2. Would the requests be dropped silently? Would an error be thrown? If n logs are returned from a single request, would n-1 logs be returned in the case of a log “drop”?

I recognize these may be questions for Infura (or another provider), so feel free to close this and I will ask there. Thank you!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kshinncommented, Aug 2, 2021

@ricmoo I’m going to open a PR with a proposal for the fix. I’ll reference #1814 in that PR.

1reaction
ricmoocommented, Jul 29, 2021

No worries. I can bug them too. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot pipeline runs - Azure DevOps - Microsoft Learn
In this article. Pipeline won't trigger; Pipeline queues but never gets an agent; Pipeline fails to complete; Get logs to diagnose problems; I ......
Read more >
Documentation - Ethers.js
Keep in mind that many backends will discard old events, and that requests which are too broad may get dropped as they require...
Read more >
Sparse data, missing metrics, and data gaps
Low memory limit may cause the integration to be killed and restarted. The correct limits and requests of resources can vary according to...
Read more >
How to debug printing problems - Fedora Project Wiki
issues with seeing or connecting to the printer (it can be cups backend ... Printing troubleshooter doesn't have a feature to get logs...
Read more >
Kubectl Reference Docs - Kubernetes
Once your workloads are running, you can use the commands in the WORKING ... kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found