Separate out cache + data servers

This commit is contained in:
Michael Jackson
2018-07-06 10:53:16 -07:00
parent ffde00c444
commit 8ef362ba09
12 changed files with 43 additions and 38 deletions

View File

@ -1,4 +1,4 @@
const db = require("./redis");
const db = require("./data");
function incrementCounter(counter, key, by = 1) {
return new Promise((resolve, reject) => {