node: remove unused timeout
The timeout was never being used, so it is being removed for the time being. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
parent
87d1cb50a0
commit
4d50f79f1c
|
|
@ -4,7 +4,7 @@ pub mod thread;
|
||||||
use std::os::unix::net::UnixListener;
|
use std::os::unix::net::UnixListener;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
use std::{fs, io, net, time};
|
use std::{fs, io, net};
|
||||||
|
|
||||||
use crossbeam_channel as chan;
|
use crossbeam_channel as chan;
|
||||||
use cyphernet::Ecdh;
|
use cyphernet::Ecdh;
|
||||||
|
|
@ -262,7 +262,6 @@ impl Runtime {
|
||||||
cobs_cache,
|
cobs_cache,
|
||||||
worker::Config {
|
worker::Config {
|
||||||
capacity: 8,
|
capacity: 8,
|
||||||
timeout: time::Duration::from_secs(9),
|
|
||||||
storage: storage.clone(),
|
storage: storage.clone(),
|
||||||
fetch,
|
fetch,
|
||||||
policy,
|
policy,
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@ pub use channels::{ChannelEvent, Channels};
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
/// Number of worker threads.
|
/// Number of worker threads.
|
||||||
pub capacity: usize,
|
pub capacity: usize,
|
||||||
/// Timeout for all operations.
|
|
||||||
pub timeout: time::Duration,
|
|
||||||
/// Git storage.
|
/// Git storage.
|
||||||
pub storage: Storage,
|
pub storage: Storage,
|
||||||
/// Configuration for performing fetched.
|
/// Configuration for performing fetched.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue