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:
Travis Glenn Hansen
2022-03-03 22:14:48 -07:00
parent d2f8fa3f35
commit b723136f2a
7 changed files with 68 additions and 28 deletions
+4 -1
View File
@@ -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);