Commit Graph

47 Commits

Author SHA1 Message Date
fe0d19fbc6 cave: move posts_cache from hunter 2023-10-12 23:28:48 +02:00
3937947f94 hunter/worker: limit token_tries 2023-08-09 02:05:53 +02:00
0a3508087e hunter/worker: add hunter_requests gauges for stream_open_token 2023-08-09 02:05:25 +02:00
50c6d29c71 hunter/worker: log when deleting token 2023-08-08 23:41:12 +02:00
aa1d0f1009 begin collecting tokens 2023-08-08 22:04:29 +02:00
5839a02e55 hunter/worker: gauge webfinger 2023-08-02 01:08:20 +02:00
b0d63aad28 hunter: remove some unwrap() 2023-08-01 21:51:01 +02:00
c71dbca47a hunter: try looking up webfinger with known_user 2023-08-01 21:26:17 +02:00
33c910ff7a hunter: redesign hosts introduction in worker to add scanning reblog mentions 2023-04-24 19:27:13 +02:00
0bef428894 hunter: remove unnecessary cloning 2023-04-24 19:21:15 +02:00
fb21cf0335 hunter/worker: learn hosts from reblogged accounts 2023-03-09 00:58:30 +01:00
ec368e4557 hunter/worker: output more stream stats 2023-03-09 00:56:48 +01:00
f6e607d6ec hunter/worker: eliminate useless RwLock 2023-03-04 00:59:09 +01:00
f32ec17704 hunter/worker: let stream post_count increase new_post_ratio 2023-03-04 00:50:35 +01:00
5f1d9862c5 hunter/worker: update mean_interval with stream_avg_interval if post_count > 0 2023-03-03 21:36:58 +01:00
b2a5228f98 hunter/worker: fix stream_avg_interval calculation 2023-03-03 21:24:28 +01:00
6231884d36 hunter: estimate stream_avg_interval 2023-03-03 20:49:34 +01:00
f2e65fd6cd hunter: split into butcher 2023-01-22 00:05:10 +01:00
df50718724 Revert "hunter/worker: invert hunter_new_post_ratio metric"
This reverts commit 5260090b19.
2022-12-29 03:17:03 +01:00
5260090b19 hunter/worker: invert hunter_new_post_ratio metric 2022-12-27 20:34:34 +01:00
704b883de2 hunter/worker: adjust new posts log level 2022-12-27 19:05:53 +01:00
ff9c64ec1a hunter: add more metrics 2022-12-27 19:03:09 +01:00
aeec4045a0 hunter/worker: catch runaway metrics 2022-12-26 04:14:10 +01:00
ce3f184d04 hunter: add metrics for prometheus 2022-12-26 03:46:11 +01:00
f5fb098bd2 switch from log to tracing 2022-12-26 03:05:00 +01:00
cd132a67bc cave/feed: clean up with EncodedPost 2022-12-02 23:05:35 +01:00
f7ebb08274 cave/feed: wrap Post in EncodablePost 2022-12-02 22:03:38 +01:00
51a21d3fbc hunter: Arcify host 2022-12-02 00:50:01 +01:00
00ded7dc8e hunter: add posts_cache 2022-11-23 23:59:35 +01:00
91dcf74609 hunter/worker: free RobotsTxt earlier 2022-11-18 20:13:34 +01:00
663db47973 add working streaming 2022-11-11 22:13:33 +01:00
0e5fab858e hunter/worker: eval robot.delay 2022-11-11 19:21:44 +01:00
53ae6e6ba1 hunter/worker: refactor, prepare stream, add robots.txt support 2022-11-11 19:00:37 +01:00
e620c69a32 hunter: refactor worker to prepare for more fetch steps 2022-11-11 18:08:13 +01:00
0c23fad76d hunter/trend_setter: implement maintaining the pools 2022-11-09 18:11:02 +01:00
a98a669086 hunter: begin trend_setter 2022-11-08 00:43:46 +01:00
a5a5a10d15 hunter/redis_store: move into cave::store 2022-11-07 22:07:07 +01:00
1cf7e200ab hunter: rework scheduling algorithm 2022-11-07 00:58:28 +01:00
7913f6fa5f hunter/worker: fetch a maximum of 40 posts 2022-11-06 22:30:43 +01:00
02f047d469 hunter: add more logging 2022-11-05 03:29:07 +01:00
2fdd0e079b hunter/worker: don't pass host to save_post() 2022-11-05 03:26:34 +01:00
44a3d68201 hunter/worker: simplify error case, hardcode interval_after_error 2022-11-05 03:25:30 +01:00
8d097e2f33 don't ignore foreign posts 2022-11-04 15:50:25 +01:00
9c51946284 worker: lower DEFAULT_INTERVAL from 3600s to 60s 2022-11-03 21:18:15 +01:00
c7a92a519d store known hosts in redis only after successful fetch 2022-11-03 21:17:21 +01:00
748ccd4f59 use env_logger 2022-11-03 17:22:21 +01:00
63ee84b93c move into subdir hunter/ 2022-11-03 17:17:39 +01:00