Skip to content

Commit ed8b789

Browse files
committed
phil jetstream instance
1 parent a0d68ef commit ed8b789

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

crates/pattern_core/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ pub struct BlueskyConfig {
626626
}
627627

628628
fn default_jetstream_endpoint() -> String {
629-
"wss://jetstream1.us-west.bsky.network/subscribe".to_string()
629+
"wss://jetstream1.us-east.fire.hose.cam/subscribe".to_string()
630630
}
631631

632632
/// Model provider configuration

crates/pattern_core/src/data_source/bluesky.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3511,9 +3511,10 @@ impl DataSource for BlueskyFirehoseSource {
35113511

35123512
// Standard Jetstream endpoints to rotate through
35133513
let endpoints = vec![
3514+
"wss://jetstream1.us-east.fire.hose.cam/subscribe",
35143515
"wss://jetstream2.us-west.bsky.network/subscribe",
35153516
"wss://jetstream1.us-west.bsky.network/subscribe",
3516-
//"wss://jetstream2.us-east.bsky.network/subscribe",
3517+
"wss://jetstream2.us-east.bsky.network/subscribe",
35173518
"wss://jetstream1.us-east.bsky.network/subscribe",
35183519
];
35193520
let mut current_endpoint_idx = 0;

crates/pattern_core/src/data_source/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ where
105105
E: EmbeddingProvider + Clone + 'static,
106106
{
107107
let endpoint =
108-
endpoint.unwrap_or_else(|| "wss://jetstream.fire.hose.cam/subscribe".to_string());
108+
endpoint.unwrap_or_else(|| "wss://jetstream1.us-east.fire.hose.cam/subscribe".to_string());
109109

110110
// Create a buffer with processing queue for rate limiting
111111
let buffer = StreamBuffer::new(1000, std::time::Duration::from_secs(3600)) // 1000 items, 1 hour

0 commit comments

Comments
 (0)