functional tracing

This commit is contained in:
2023-11-28 14:29:21 +01:00
parent 0e45cbcb6a
commit f2b16ba472
7 changed files with 105 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ pub struct ChromiumCoordinator {
}
impl ChromiumCoordinator {
const NUMBER_OF_INSTANCES: usize = 10;
const NUMBER_OF_INSTANCES: usize = 1; // TODO: make this configurable
pub async fn new() -> Self {
let instances: Arc<Mutex<Vec<BrowserHolder>>> = Arc::new(Mutex::new(Vec::with_capacity(Self::NUMBER_OF_INSTANCES)));