feat(adapter/postgres): wip postgres remote adapter#689
feat(adapter/postgres): wip postgres remote adapter#689
Conversation
| #![warn( | ||
| clippy::all, | ||
| clippy::todo, | ||
| clippy::empty_enums, |
Check warning
Code scanning / clippy
unknown lint: clippy::empty_enums Warning
| /// Sender to emit outgoing NOTIFY messages (to be broadcast to other servers). | ||
| tx: mpsc::Sender<StubNotification>, | ||
| /// Handlers for incoming notifications per listened channel. | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Sender to emit outgoing NOTIFY messages (to be broadcast to other servers). | ||
| tx: mpsc::Sender<StubNotification>, | ||
| /// Handlers for incoming notifications per listened channel. | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Sender to emit outgoing NOTIFY messages (to be broadcast to other servers). | ||
| tx: mpsc::Sender<StubNotification>, | ||
| /// Handlers for incoming notifications per listened channel. | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Sender to emit outgoing NOTIFY messages (to be broadcast to other servers). | ||
| tx: mpsc::Sender<StubNotification>, | ||
| /// Handlers for incoming notifications per listened channel. | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Pipe incoming notifications to the matching channel handlers. | ||
| async fn pipe_handlers( | ||
| mut rx: mpsc::Receiver<StubNotification>, | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Pipe incoming notifications to the matching channel handlers. | ||
| async fn pipe_handlers( | ||
| mut rx: mpsc::Receiver<StubNotification>, | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Pipe incoming notifications to the matching channel handlers. | ||
| async fn pipe_handlers( | ||
| mut rx: mpsc::Receiver<StubNotification>, | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Pipe incoming notifications to the matching channel handlers. | ||
| async fn pipe_handlers( | ||
| mut rx: mpsc::Receiver<StubNotification>, | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
| /// Pipe incoming notifications to the matching channel handlers. | ||
| async fn pipe_handlers( | ||
| mut rx: mpsc::Receiver<StubNotification>, | ||
| handlers: Arc<RwLock<Vec<(String, mpsc::Sender<StubNotification>)>>>, |
Check warning
Code scanning / clippy
very complex type used. Consider factoring parts into type definitions Warning test
Motivation
Add a postgres adapter implementation for socket.io clusters.
Closes issue #423
TODO: