diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-21 09:00:49 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-21 09:00:49 +0100 |
| commit | 049d73f217dfc881b89be23bc23d33d995bdea42 (patch) | |
| tree | 3f1dd23dfd9c5c1a26fa0afbf127c28a5778a809 | |
| parent | a5cc4c3ea48908166f43dabaf5d54046d2014d93 (diff) | |
| download | joblib-1.2.0-threadsafe.tar.gz joblib-1.2.0-threadsafe.zip | |
backport request() notification1.2.0-threadsafe
| -rw-r--r-- | joblib.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ class JobQueue(object): ids.append(await insert.fetchval(jobtype, json.dumps(pl), pr)) + await con.execute("SELECT pg_notify($1 || '_open', '')", + jobtype) if isinstance(payload, list): return ids else: |
