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 38de8cc87e
commit e09313120c
2 changed files with 13 additions and 10 deletions

View File

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