Remove unused code + Increase frequeuncy of host heartbeat update

This commit is contained in:
ahmadbilalkhalid 2019-12-30 14:58:05 +05:00
commit 52867614df
8 changed files with 1 additions and 924 deletions

View file

@ -19,15 +19,6 @@ from . import schemas
from .helper import generate_mac, mac2ipv6
def get_parent(obj, attr):
parent = getattr(obj, attr)
child = parent
while parent is not None:
child = parent
parent = getattr(parent, attr)
return child
logger = logging.getLogger(__name__)
app = Flask(__name__)