mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Optimize appliance templates update from GitHub repository by only downloading when the repository
has been updated. Ref https://github.com/GNS3/gns3-gui/issues/2490
This commit is contained in:
1 parent
651d8280a7
commit
b7f9b865c8
4 files changed
+29
-26
No files matched your search
@@ -163,8 +163,8 @@ def wait_for_named_pipe_creation(pipe_path, timeout=60):
|
||||
|
||||
def locked_coroutine(f):
|
||||
"""
|
||||
Method decorator that replace asyncio.coroutine that warranty
|
||||
that this specific method of this class instance will not we
|
||||
Method decorator that replace asyncio.coroutine that guarantee
|
||||
that this specific method of this class instance will not be
|
||||
executed twice at the same time
|
||||
"""
|
||||
@asyncio.coroutine
|
||||
|
||||
@@ -22,7 +22,7 @@ import os
|
||||
|
||||
class FileWatcher:
|
||||
"""
|
||||
Watch for file change and call the callback when something happen
|
||||
Watch for file change and call the callback when something happens
|
||||
|
||||
:param paths: A path or a list of file to watch
|
||||
:param delay: Delay between file check (seconds)
|
||||
|
||||
Reference in new issue
Block a user