scrapy-playwright icon indicating copy to clipboard operation
scrapy-playwright copied to clipboard

Close inactive contexts

Open elacuesta opened this issue 1 year ago • 1 comments

Requested in #20

Introduce a new PLAYWRIGHT_CLOSE_CONTEXT_INTERVAL: int setting. Contexts that have spent the specified amount of seconds without pages will be automatically closed.

elacuesta avatar Jul 13 '23 21:07 elacuesta

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.82%. Comparing base (848955e) to head (891c95b).

:exclamation: There is a different number of reports uploaded between BASE (848955e) and HEAD (891c95b). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (848955e) HEAD (891c95b)
12 6
Additional details and impacted files
@@             Coverage Diff             @@
##              main     #206      +/-   ##
===========================================
- Coverage   100.00%   93.82%   -6.18%     
===========================================
  Files            6        6              
  Lines          595      615      +20     
===========================================
- Hits           595      577      -18     
- Misses           0       38      +38     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 07 '23 00:08 codecov[bot]