mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-08 12:21:18 +02:00
proper ttl syntax on cache entries, begin work for purejs grpc server
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
+4
-1
@@ -7,4 +7,7 @@ class GrpcError {
|
||||
}
|
||||
|
||||
module.exports.GrpcError = GrpcError;
|
||||
module.exports.grpc = require("grpc-uds");
|
||||
|
||||
const grpcImplementation = process.env.GRPC_IMPLEMENTATION || "grpc-uds";
|
||||
console.log(`grpc implementation: ${grpcImplementation}`);
|
||||
module.exports.grpc = require(grpcImplementation);
|
||||
|
||||
Reference in New Issue
Block a user