mirror of
https://github.com/blacksky-algorithms/rsky.git
synced 2025-03-14 13:59:02 +00:00
Changed default value for jetstream subscriber
This commit is contained in:
committed by
trentoncoleman
parent
adfc16f6d3
commit
5288b59cc9
7
.idea/dataSources.xml
generated
7
.idea/dataSources.xml
generated
@ -8,5 +8,12 @@
|
||||
<jdbc-url>jdbc:postgresql://localhost:5432/rsky_local</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="postgres@localhost" uuid="649b6bf5-aca8-44eb-b190-abd2d223fa62">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://localhost:5432/postgres</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
@ -300,7 +300,7 @@ async fn main() {
|
||||
let default_subscriber_path = env::var("JETSTREAM_SERVER_ENDPOINT")
|
||||
.unwrap_or("wss://jetstream1.us-west.bsky.network".into());
|
||||
let wanted_collections = env::var("FILTER_PARAM")
|
||||
.unwrap_or("wantedCollections=app.bsky.feed.post&wantedCollections=app.bsky.feed.repost&wantedCollections=app.bsky.graph.follow&wantedCollections=app.bsky.feed.like".into());
|
||||
.unwrap_or("".into());
|
||||
let client = reqwest::Client::new();
|
||||
let subscriber = tracing_subscriber::FmtSubscriber::new();
|
||||
tracing::subscriber::set_global_default(subscriber).unwrap();
|
||||
|
Reference in New Issue
Block a user