Swapped Id's to be Unix Timestamps instead of UUID's
This commit is contained in:
parent
a3612ba55c
commit
b9208c190e
13 changed files with 352 additions and 291 deletions
|
|
@ -14,6 +14,7 @@ use tokio_util::compat::TokioAsyncReadCompatExt;
|
|||
use tungstenite::handshake::server::{Request, Response};
|
||||
|
||||
use crate::{
|
||||
calls::call_manager::garbage_collect_calls,
|
||||
omega::omega_connection::OmegaConnection,
|
||||
rho::{client_connection::ClientConnection, iota_connection::IotaConnection},
|
||||
util::{
|
||||
|
|
@ -36,6 +37,8 @@ async fn main() {
|
|||
&format!("WebSocket server listening on {}", &address),
|
||||
);
|
||||
|
||||
garbage_collect_calls();
|
||||
|
||||
while let Ok((stream, _)) = listener.accept().await {
|
||||
tokio::spawn(async move {
|
||||
let mut path: String = "/".to_string();
|
||||
|
|
|
|||
Loading…
Reference in a new issue