make worker pool public
This commit is contained in:
parent
a2e4885bdb
commit
75a0de365e
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@ use crate::executor::Executor;
|
||||||
use crate::postgres::Postgres;
|
use crate::postgres::Postgres;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
struct WorkerPool {
|
pub struct WorkerPool {
|
||||||
pub number_of_workers: u16,
|
pub number_of_workers: u16,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
struct WorkerThread {
|
pub struct WorkerThread {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub restarts: u64,
|
pub restarts: u64,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue