Open qbatten opened 2 years ago
I've attached two log files from different runs where this issue occurs.
debug_shared_log_1.log
is a run with log=debug. The issue appears at L3642, or you can search for the timestamp 2022-07-21 15:54:46.625
.debug_shared_log_2.log
is a run with log=info. The issue appears at L2070, or you can search for the timestamp 2022-07-21 04:07:09.546
.Thanks for making this awesome program and let me know if I can help further!
Hello @qbatten,
Thanks.
Can you try two things:
max_requests_per_second
, perhaps starting at 5?After the first full download you will be able to apply the events to the DB to keep it up to date. Applying the events should take a few seconds.
The logs are helpful. Let me know how it goes.
So, I havent been able to complete a full download of my stripe data because something funky is going on with the rate limiter.
This is the context:
tdog --json-file config.json
.Here's my config.json, click to expand
I redacted the key of course ``` { "cmd": { "fn": "download", "args": { "from": { "stripe": { "secret_key": "rk_redacted", "max_requests_per_second": 20 } }, "to": { "sqlite": { "file": "main.db" } }, "options": { "watch": false, } } }, "log": "trace" } ```What happens: