You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Refactor code to utilize tab pooling for improved performance
- Added `use headless_chrome::Tab` and `use std::collections::VecDeque` to import necessary structs
- Modified `args` in `main` function to include new command line arguments
- Refactored `with_browser` and `with_semaphore` functions to use cloned objects instead of references
- Added `with_tab_pool` function to handle tab pool using a mutex and vector deque
- Modified `render_handler` function to reuse tabs from the tab pool
0 commit comments