do not need to send any data down the client conn to wake up the pa_job_manager

This commit is contained in:
2021-01-18 13:19:50 +11:00
parent ab3eff4e62
commit 3951b3e0a1

1
job.py
View File

@@ -62,7 +62,6 @@ def NewJob(name, num_passes="1", num_files="0", wait_for=None ):
print("Waking up PA Job Manager")
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((PA_JOB_MANAGER_HOST, PA_JOB_MANAGER_PORT))
s.sendall(b'Hello, world')
s.close()
except Exception as e:
st.SetAlert("danger")