getsentry/freight

Null read_timeout

marksteve opened this issue · 0 comments

worker_1 | TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
worker_1 | Traceback (most recent call last):
worker_1 |   File "/usr/local/lib/python2.7/site-packages/rq/worker.py", line 568, in perform_job
worker_1 |     rv = job.perform()
worker_1 |   File "/usr/local/lib/python2.7/site-packages/rq/job.py", line 495, in perform
worker_1 |     self._result = self.func(*self.args, **self.kwargs)
worker_1 |   File "/usr/src/app/freight/queue.py", line 58, in inner
worker_1 |     rv = func(*args, **kwargs)
worker_1 |   File "/usr/src/app/freight/jobs/execute_task.py", line 48, in execute_task
worker_1 |     taskrunner.wait()
worker_1 |   File "/usr/src/app/freight/jobs/execute_task.py", line 251, in wait
worker_1 |     elif self._logreporter.last_recv and self._logreporter.last_recv < time() - self.read_timeout:
worker_1 | TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'