@@ -8,6 +8,7 @@ startRedis.cmd
startMongo.cmd
.database
dump.rdb
+npm-debug.log
# Back End
backend/node_modules/
@@ -16,4 +17,6 @@ backend/config/default.json
# Front End
frontend/node_modules/
frontend/build/bundle.js
-frontend/build/config/default.json
+frontend/build/config/default.json
+
+npm
@@ -43,6 +43,7 @@ const lib = {
* @param {Function} cb - gets called when the notification has been scheduled
*/
schedule: (name, time, cb) => {
+ time = Math.round(time);
pub.set(crypto.createHash('md5').update(`_notification:${name}_`).digest('hex'), '', 'PX', time, 'NX', cb);
},