presidium-db-client-server 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/errorHandler.js +0 -1
- package/loadBalancerHandler.js +1 -1
- package/package.json +1 -1
package/errorHandler.js
CHANGED
package/loadBalancerHandler.js
CHANGED
|
@@ -14,7 +14,7 @@ async function loadBalancerHandler(request, response) {
|
|
|
14
14
|
const tableName = request.pathSegments[0]
|
|
15
15
|
const key = request.headers["key"]
|
|
16
16
|
|
|
17
|
-
let index = this.hash(tableName, key)
|
|
17
|
+
let index = this.hash(tableName, key, this.serverIps.length)
|
|
18
18
|
if (typeof index.then == "function") {
|
|
19
19
|
index = await index
|
|
20
20
|
}
|