projects
/
osm
/
MON.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df433f
)
fix(processes): .terminate instead of .kill to finish misbehaving processes
15/9615/2
author
bravof
<fbravo@whitestack.com>
Wed, 19 Aug 2020 23:14:01 +0000
(19:14 -0400)
committer
palsus
<subhankar.pal@altran.com>
Tue, 13 Oct 2020 13:19:26 +0000
(15:19 +0200)
Change-Id: I68eba9c9da669242292ff93c656e1a54da9cf541
Signed-off-by: bravof <fbravo@whitestack.com>
(cherry picked from commit
06ad698093d4e39b199ba466617bf8cef6df5c42
)
osm_mon/collector/service.py
patch
|
blob
|
history
diff --git
a/osm_mon/collector/service.py
b/osm_mon/collector/service.py
index
7673aed
..
5452c66
100644
(file)
--- a/
osm_mon/collector/service.py
+++ b/
osm_mon/collector/service.py
@@
-130,7
+130,7
@@
class CollectorService:
process.join(timeout=20)
for process in processes:
if process.is_alive():
- process.
kill
()
+ process.
terminate
()
metrics = []
while not self.queue.empty():
metrics.append(self.queue.get())