mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-25 02:32:25 +00:00
udp: socket workers: rename common.rs to storage.rs
This commit is contained in:
1 parent
043649d122
commit
1851886992
4 files changed
+4
-4
No files matched your search
@@ -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,
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user