Make async jid's unique per host

The jid will now also contain the PID of the async_wrapper process,
and can each unique jid from each host is tracked rather than just
relying on one global jid per task.

Fixes #5582
This commit is contained in:
James Cammarata 2014-03-26 13:20:52 -05:00
parent 177bf3eb20
commit edf6fe3431

View file

@ -72,7 +72,7 @@ if len(sys.argv) < 3:
}) })
sys.exit(1) sys.exit(1)
jid = sys.argv[1] jid = "%s.%d" % (sys.argv[1], os.getpid())
time_limit = sys.argv[2] time_limit = sys.argv[2]
wrapped_module = sys.argv[3] wrapped_module = sys.argv[3]
argsfile = sys.argv[4] argsfile = sys.argv[4]