skip to Main Content

Redis – Nodejs loop event execution

Hello I am having problems with my setInterval it is only executing only once the if else checks below is my function const redis = require('redis'); const cache = redis.createClient(); require('./execSocket'); function teste(){ cache.dbsize(function(err,res){ if(res){ console.log(res); if(res > 10){ require('./execSql');…

VIEW QUESTION
Back To Top
Search