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

[2.0] Create data manager and spawn new process to keep the vts dictionary. #193

Closed
wants to merge 5 commits into from

Conversation

jjnicola
Copy link
Member

Backport PR #191

jjnicola and others added 5 commits January 14, 2020 08:36
A new process is spawn, and it will load the vts in a dictionary.
This process run and keep the collection.
The main process it is lighter now. Therefore, the new fork()'ed scan
processes inherite less memory.
Also check for None before iterating.
DictProxy in Python 3.5 does not support iteration as over a
regular dict.
Co-Authored-By: Björn Ricks <bjoern.ricks@gmail.com>
@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #193 into ospd-2.0 will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##           ospd-2.0     #193      +/-   ##
============================================
+ Coverage     68.22%   68.29%   +0.06%     
============================================
  Files            12       12              
  Lines          1835     1839       +4     
============================================
+ Hits           1252     1256       +4     
  Misses          583      583
Impacted Files Coverage Δ
ospd/ospd.py 72.46% <100%> (+0.13%) ⬆️

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 626f5d1...fc6ac7b. Read the comment docs.

@jjnicola
Copy link
Member Author

This old PR will no be merged. Closing here

@jjnicola jjnicola closed this Aug 25, 2020
@jjnicola jjnicola deleted the mem-improve-2 branch August 25, 2020 08:40
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.

1 participant