Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

Solana-shadow is not maintained anymore and doesn't work properly. It drops many updates and after a certain amount of latency drops all messages. We have been using Solana PubSub client in Hermes without any problem and there is no reason to stick with solana-shadow.

Solana-shadow is not maintained anymore and doesn't work properly.
It drops many updates and after a certain amount of latency drops all
messages. We have been using Solana PubSub client in Hermes without any
problem and there is no reason to stick with solana-shadow.
Comment on lines 484 to 502
if !ret {
debug!(self.logger, "Exporter: Attempted to publish price outside market hours";
"price_account" => key_from_id.to_string(),
"weekly_schedule" => format!("{:?}", weekly_schedule),
"utc_time" => now.format("%c").to_string(),
);
}

ret
if !ret {
debug!(self.logger, "Exporter: Attempted to publish price outside market hours";
"price_account" => key_from_id.to_string(),
"weekly_schedule" => format!("{:?}", weekly_schedule),
"utc_time" => now.format("%c").to_string(),
);
}

ret
} else {
// Note: This message is not an error. Some
// publishers have different permissions on
// primary/secondary networks
debug!(
self.logger,
"Exporter: Attempted to publish a price without permission, skipping";
"unpermissioned_price_account" => key_from_id.to_string(),
"permissioned_accounts" => format!("{:?}", self.our_prices)
);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting

@ali-behjati ali-behjati force-pushed the fix-ws branch 2 times, most recently from 25af1fd to 2d336e0 Compare November 30, 2023 14:27
@ali-behjati ali-behjati merged commit cf0159c into main Nov 30, 2023
@ali-behjati ali-behjati deleted the fix-ws branch November 30, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants