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:
parent
177bf3eb20
commit
edf6fe3431
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue