use crate::constants::{
COLS, GAME_CLEANUP_TIMEOUT, PLAYER_CLEANUP_TIMEOUT, PLAYER_COUNT_LIMIT, ROWS, TURN_SECONDS,
};
-use crate::game_logic::check_win_draw;
use crate::state::{board_from_string, new_string_board, string_from_board, BoardState, Turn};
use std::sync::mpsc::{Receiver, RecvTimeoutError, SyncSender};
#[tokio::main]
async fn main() {
- let (db_tx, db_rx) = sync_channel::<DBHandlerRequest>(32);
+ let (db_tx, db_rx) = sync_channel::<DBHandlerRequest>(128);
let db_tx_clone = db_tx.clone();
let (shutdown_tx, shutdown_rx) = oneshot::channel::<()>();