Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
QLF unused code cleanup (#243)
Browse files Browse the repository at this point in the history
* starting backend cleanup

* removing docs

* fix global view layout

* removing monitor and unused method

* removing unused imports

* removing bokeh unused imports

* changing x size
  • Loading branch information
felipelm authored Oct 10, 2018
1 parent 8f34ce0 commit fca7677
Show file tree
Hide file tree
Showing 83 changed files with 1,086 additions and 22,655 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ frontend/dist/*
docker-compose.yml

build
.yarn

nginx/nginx-proxy.conf
2 changes: 2 additions & 0 deletions backend/DEPLOY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# DEPRECATED

# Deployment

_This is an deployment example using `docker`, `nginx` on a linux machine._
Expand Down
118 changes: 0 additions & 118 deletions backend/MANUAL.md

This file was deleted.

32 changes: 0 additions & 32 deletions backend/framework/bin/procutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,6 @@
logger = logging.getLogger()


def reap_children(timeout=3):
""" Tries hard to terminate and ultimately kill all the children of
this process.
https://psutil.readthedocs.io/en/latest/#terminate-my-children
"""

def on_terminate(proc):
logger.info("process {} terminated with exit code {}".format(
proc, proc.returncode))

procs = psutil.Process().children()

for p in procs:
p.terminate()

gone, alive = psutil.wait_procs(procs, timeout=timeout,
callback=on_terminate)

if alive:
for p in alive:
logger.info("process {} survived SIGTERM; trying SIGKILL" % p)
p.kill()

gone, alive = psutil.wait_procs(alive, timeout=timeout,
callback=on_terminate)

if alive:
for p in alive:
logger.info("process {} survived SIGKILL; giving up" % p)


def kill_proc_tree(pid, sig=signal.SIGTERM, include_parent=True,
timeout=None, on_terminate=None):
""" Kill a process tree (including grandchildren) with signal
Expand Down
225 changes: 0 additions & 225 deletions backend/framework/docs/Makefile

This file was deleted.

Binary file removed backend/framework/docs/QLF v0.3 May 2017 (4).pdf
Binary file not shown.
Binary file removed backend/framework/docs/_static/config.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/dashboard.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/exposures.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/monitor.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/qlf.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/qlfdb.mwb
Binary file not shown.
Binary file removed backend/framework/docs/_static/qlfdb_v02.png
Binary file not shown.
Binary file removed backend/framework/docs/_static/reports.png
Binary file not shown.
Loading

0 comments on commit fca7677

Please sign in to comment.