Skip to content

Commit

Permalink
Remove timeout decorator
Browse files Browse the repository at this point in the history
Signals do not work on windows and use_signals=False did not work at
first try.
  • Loading branch information
cbenhagen committed Dec 15, 2019
1 parent 4df0b7d commit d5e977b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ click = "*"
defusedxml = "*"
lxml = "*"
requests = "*"
timeout_decorator = "*"
xxhash = "*"

[dev-packages]
Expand Down
9 changes: 1 addition & 8 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions ocopy/backup_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from pathlib import Path
from typing import List

import timeout_decorator

logger = logging.getLogger(__name__)


Expand All @@ -27,7 +25,6 @@ def get_signatures(path: Path) -> set:
return signatures


@timeout_decorator.timeout(30)
def get_missing(src: str, dst: str) -> (List[str], int):
logger.info(f"Searching all files from {src} in {dst}")
src = Path(src)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"xxhash>=1.4.2",
"defusedxml>=0.6.0",
"requests>=2.22.0",
"timeout_decorator>=0.4.1",
],
dependency_links=[],
long_description=long_description,
Expand Down

0 comments on commit d5e977b

Please sign in to comment.