Add scheduler, rate limiting and headless mode.
Hard-coded 60s URL and 10s host floors with jitter and per-host backoff, shared between dibs processes through a locked state file. The scheduler shuffles due URLs each round and runs one worker per host; 'dibs --headless' watches and logs JSON.
This commit is contained in:
1 parent
bb010356a0
commit
2175c0e5aa
30 files changed
+1434
-126
No files matched your search
Vendored
+3
-3
@@ -1,9 +1,9 @@
|
||||
# Real Amazon pages the amazon plugin is tested on. `dibs fixtures` fetches
|
||||
# them into pages/ (not tracked), together with the report dibs made for
|
||||
# each. Pages change: when a case stops showing what its note says, pick
|
||||
# another product.
|
||||
# each. Pages change over time, so a case that stops showing what its note
|
||||
# says needs another product.
|
||||
#
|
||||
# Still wanted: a page sold by Amazon itself, and a preorder.
|
||||
# No case covers a page sold by Amazon itself or a preorder yet.
|
||||
|
||||
[[case]]
|
||||
name = "out-of-stock-de"
|
||||
|
||||
Reference in new issue
Block a user