mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: socket workers: rename common.rs to storage.rs
This commit is contained in:
parent
043649d122
commit
1851886992
4 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
mod common;
|
||||
mod requests;
|
||||
mod responses;
|
||||
mod storage;
|
||||
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
|
|
@ -19,9 +19,9 @@ use socket2::{Domain, Protocol, Socket, Type};
|
|||
use crate::common::*;
|
||||
use crate::config::Config;
|
||||
|
||||
use self::common::PendingScrapeResponseSlab;
|
||||
use self::requests::read_requests;
|
||||
use self::responses::send_responses;
|
||||
use self::storage::PendingScrapeResponseSlab;
|
||||
|
||||
pub fn run_socket_worker(
|
||||
_sentinel: PanicSentinel,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use aquatic_udp_protocol::*;
|
|||
use crate::common::*;
|
||||
use crate::config::Config;
|
||||
|
||||
use super::common::PendingScrapeResponseSlab;
|
||||
use super::storage::PendingScrapeResponseSlab;
|
||||
|
||||
pub fn read_requests(
|
||||
config: &Config,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use aquatic_udp_protocol::*;
|
|||
use crate::common::*;
|
||||
use crate::config::Config;
|
||||
|
||||
use super::common::PendingScrapeResponseSlab;
|
||||
use super::storage::PendingScrapeResponseSlab;
|
||||
|
||||
pub fn send_responses(
|
||||
state: &State,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue