aboutsummaryrefslogtreecommitdiff
path: root/query-executor.js
diff options
context:
space:
mode:
Diffstat (limited to 'query-executor.js')
-rw-r--r--query-executor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/query-executor.js b/query-executor.js
index ee7552b..b9fb561 100644
--- a/query-executor.js
+++ b/query-executor.js
@@ -5,7 +5,7 @@ const { Pool } = require("pg");
const connectionTestQuery = "SELECT now()";
-const executorId = require("uuid/v1")();
+const executorId = remote.getCurrentWindow().executorId;
const connectionConfig = remote.getCurrentWindow().connectionConfig;