-
Prevent a q application from exiting when it doesn’t have a port.
We have a use case where we start q using a custom parameter -port instead of -p. The idea is that after certain conditions are completed we will start listening on the port. We have a timer to check the conditions are completed.
The issue is that when we start q as a background job it terminates as soon as it is idle if it hasn’t opened any connections.
We have come up with several workarounds. Don’t let q be idle by repeatedly checking, start with a dummy port, etc.
Just thought I’d see what the community have to say about this.
Log in to reply.