collab: Remove Stripe events polling (#35736)

This PR removes the Stripe event polling from Collab, as it has been
moved to Cloud.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-08-06 12:53:43 -04:00 committed by GitHub
parent ebda6b8a94
commit 740597492b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 485 deletions

View file

@ -7,6 +7,7 @@ use axum::{
routing::get,
};
use collab::ServiceMode;
use collab::api::CloudflareIpCountryHeader;
use collab::llm::db::LlmDatabase;
use collab::migrations::run_database_migrations;
@ -15,7 +16,6 @@ use collab::{
AppState, Config, Result, api::fetch_extensions_from_blob_store_periodically, db, env,
executor::Executor, rpc::ResultExt,
};
use collab::{ServiceMode, api::billing::poll_stripe_events_periodically};
use db::Database;
use std::{
env::args,
@ -119,8 +119,6 @@ async fn main() -> Result<()> {
let rpc_server = collab::rpc::Server::new(epoch, state.clone());
rpc_server.start().await?;
poll_stripe_events_periodically(state.clone(), rpc_server.clone());
app = app
.merge(collab::api::routes(rpc_server.clone()))
.merge(collab::rpc::routes(rpc_server.clone()));