No known key found for this signature in database
GPG Key ID: 1F45A7C4BFB41607
1 changed files with
1 additions and
1 deletions
-
server/src/db.rs
|
|
@ -11,7 +11,7 @@ use uuid::Uuid; |
|
|
use std::convert::TryInto; |
|
|
use std::convert::TryInto; |
|
|
|
|
|
|
|
|
pub async fn start() -> DbClient { |
|
|
pub async fn start() -> DbClient { |
|
|
let mut server = DbServer::new(Db::new(Connection::open("db.sqlite").unwrap())); |
|
|
let mut server = DbServer::new(Db::new(Connection::open_in_memory().unwrap())); |
|
|
let mut client = server.connection(); |
|
|
let mut client = server.connection(); |
|
|
spawn(async move { |
|
|
spawn(async move { |
|
|
loop { |
|
|
loop { |
|
|
|