Does not have to be blocked forever when executed in 'pod' mode in a job

The logs of the job can be retrieved even when the job is completed.
This commit is contained in:
Cosmin Cojocar
2018-08-17 10:16:35 +02:00
parent afc4dd0803
commit 80f03c9990

View File

@@ -112,8 +112,5 @@ def main():
handler.free()
logging.debug("Cleaned Queue")
if config.pod:
while True: time.sleep(5)
if __name__ == '__main__':
main()