fix: add 3 instances of chromium
This commit is contained in:
parent
da102ff4dc
commit
582bcfda24
@ -40,7 +40,7 @@ pub struct ChromiumCoordinator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl ChromiumCoordinator {
|
impl ChromiumCoordinator {
|
||||||
const NUMBER_OF_INSTANCES: usize = 1; // TODO: make this configurable
|
const NUMBER_OF_INSTANCES: usize = 3; // TODO: make this configurable
|
||||||
|
|
||||||
pub async fn new() -> Self {
|
pub async fn new() -> Self {
|
||||||
let instances: Arc<Mutex<Vec<BrowserHolder>>> = Arc::new(Mutex::new(Vec::with_capacity(Self::NUMBER_OF_INSTANCES)));
|
let instances: Arc<Mutex<Vec<BrowserHolder>>> = Arc::new(Mutex::new(Vec::with_capacity(Self::NUMBER_OF_INSTANCES)));
|
||||||
|
Loading…
Reference in New Issue
Block a user