mirror of
https://github.com/vale981/jobmanager
synced 2025-03-04 09:21:39 -05:00
reuse address to fix [Errno 98]
This commit is contained in:
parent
d3c327f93d
commit
2e7d508bbd
2 changed files with 2 additions and 1 deletions
|
@ -1522,6 +1522,7 @@ class JobManager_Server(object):
|
|||
def _check_bind(host, port):
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
s.bind((host, port))
|
||||
except:
|
||||
log.critical("test bind to %s:%s failed", host, port)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jobmanager"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
description = "Python job manager for parallel computing."
|
||||
authors = ["Richard Hartmann <richard.hartmann@tu-dresden.de>", "Paul Müller"]
|
||||
license = "BSD (3 clause)"
|
||||
|
|
Loading…
Add table
Reference in a new issue