Skip to content

Commit

Permalink
fix: convert worker_count to int
Browse files Browse the repository at this point in the history
  • Loading branch information
max-wittig committed Apr 27, 2019
1 parent ad3f19d commit 2b83737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitlab_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
] = None
gitlab_url = None
worker_count = os.getenv("WORKER_COUNT") or multiprocessing.cpu_count() * 2
worker_count = int(worker_count)


def error_wrapper(gen):
Expand Down

0 comments on commit 2b83737

Please sign in to comment.