Commit Graph

10 Commits

Author SHA1 Message Date
Aleksei Voronov 4a08a283d2 Properly handle errors in post indexer and profile classifier
Reconnect to Bluesky in the indexer
Don't exit the classifier just because we couldn't fetch profiles
2023-10-02 16:34:22 +02:00
Aleksei Voronov 0cd3202a9c Don't error out on profiles that don't exist anymore
Nice little match there, sigh.

Closes #1
2023-09-24 20:26:34 +02:00
Aleksei Voronov c02bded6f8 Formatting 2023-09-21 13:28:22 +02:00
Aleksei Voronov 2fd1474647 Don't crash when unable to classify a profile due to some random problem
Random problems include: deleted profiles.

Also always wait 10 seconds between runs, we don't need to do it so often
2023-09-21 13:25:36 +02:00
Aleksei Voronov 62b00ceed7 Replace random print statements with proper logging setup 2023-09-21 11:22:18 +02:00
Aleksei Voronov f4ee482ce7 Use Arcs to pass stuff around to avoid dealing with lifetimes
And also implement proper language detection through lingua-rs,
because Bluesky's detection is really bad
2023-09-21 10:36:47 +02:00
Aleksei Voronov fb17aa3e6a Formatting 2023-09-16 17:40:07 +02:00
Aleksei Voronov 944be0cd5a Convert into more modern Rust module structure
And also use re-exports liberally for shorter imports
2023-09-16 17:21:18 +02:00
Aleksei Voronov 832bdf6e92 Simplify lifetimes
I think I may have overdone it with lifetime-per-dependency, I doubt that'll ever become necessary
2023-09-07 19:06:39 +02:00
Aleksei Voronov 9d3cd75db9 Refactor things a little
Split into proper domain components, and 3rd party service glue
2023-09-07 19:02:36 +02:00