Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

[2.0] Clean forgotten scan 2 #171

Merged
merged 5 commits into from
Nov 7, 2019

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Nov 5, 2019

No description provided.

@codecov
Copy link

codecov bot commented Nov 5, 2019

Codecov Report

Merging #171 into ospd-2.0 will increase coverage by 0.15%.
The diff coverage is 84.21%.

Impacted file tree graph

@@             Coverage Diff              @@
##           ospd-2.0     #171      +/-   ##
============================================
+ Coverage     68.48%   68.63%   +0.15%     
============================================
  Files            12       12              
  Lines          1761     1779      +18     
============================================
+ Hits           1206     1221      +15     
- Misses          555      558       +3
Impacted Files Coverage Δ
ospd/parser.py 87.17% <100%> (+0.33%) ⬆️
ospd/misc.py 73.68% <50%> (-0.54%) ⬇️
ospd/ospd.py 73.21% <92.3%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e868087...36fdc54. Read the comment docs.

@jjnicola jjnicola force-pushed the clean-forgotten-scan-2 branch 4 times, most recently from 517bd1b to 523506f Compare November 7, 2019 10:26
It defines the max time in hours that forgotten scan will be kept in memory
befor being automatically deleted from the scan table.
Also initialize end_time as int insted of string.
Check if there is a finished or stopped scan in the scan table and delete it.
@bjoernricks bjoernricks merged commit e0752b3 into greenbone:ospd-2.0 Nov 7, 2019
@jjnicola jjnicola deleted the clean-forgotten-scan-2 branch November 7, 2019 10:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants