Resuming collection after interruption
See original GitHub issueIt should be possible to pick up where you left off, for a long running search - if you read the last request and use the pagination token. As far as i can tell, these pagination tokens don’t expire. Will try and see how long they last (in case they do). This could also be used to resume searches across months - if you run out of your monthly quota or something.
Ideally it will be a --resume
option - with a @resumable
decorator on the command line options that can read an existing file, and continue appending and paginating given an existing pagination token. The client code should already support this, so these changes are mostly in the command line tool.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Resuming after Interruption: Exploring the Roles of Spatial ...
The experiment reported uses a new paradigm in which, following an interruption, a person can be returned to a different task and/or a...
Read more >Resuming a Dynamic Task Following Increasingly Long ...
One of the main theories of task interruption suggests that dynamic task resumption could depend on a reconstruction of the primary task context ......
Read more >How to Resume a Download After a Lost Connection
1. Click the gear icon. · 2. Click "View Downloads" to open the Download Manager. · 3. Click on the "Resume" button next...
Read more >How to restart/resume copydb() in mongodb after interruption?
The short answer is no, there is no built-in way to resume a copydb operation, it essentially requires/assumes 100% availability at both ...
Read more >The Effect of Interruption Duration and Demand on Resuming ...
The time to resume task goals after an interruption varied depending on the ... collection, and the Arch Lab members for their many...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, except there’s no way to add the
next_token
totwarc2
yet - i’ll have add that part in.Kinda both, it doesn’t exist in the command line twarc yet, but it’s possible to do this with the library, https://twittercommunity.com/t/pulling-a-large-data-set-with-twarc2-client/165685/6?u=igorbrigadir all you need is to extract a
next_token
and specify it as a parameter into the function and it should continue - but i need to double check that, and make sure that using old next_token values actually works like this.