mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-18 20:37:57 +00:00
Remove debug
This commit is contained in:
parent
d8005f6d4f
commit
6463007ef1
@ -163,8 +163,6 @@ class IOUHandler:
|
||||
for name, value in request.json.items():
|
||||
if hasattr(vm, name) and getattr(vm, name) != value:
|
||||
setattr(vm, name, value)
|
||||
print(name)
|
||||
print(vm.iourc_path)
|
||||
|
||||
yield from vm.start()
|
||||
response.json(vm)
|
||||
|
@ -250,7 +250,6 @@ class Route(object):
|
||||
else:
|
||||
type = "controller"
|
||||
lock_key = "{}:{}:{}".format(type, request.match_info["project_id"], vm_id)
|
||||
print(lock_key)
|
||||
cls._vm_locks.setdefault(lock_key, {"lock": asyncio.Lock(), "concurrency": 0})
|
||||
cls._vm_locks[lock_key]["concurrency"] += 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user