From e88ec384e6bf5959e4b839f7352a86886040d36f Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 22 Sep 2017 18:24:01 +0200 Subject: [PATCH] appunti --- appServer/test_redis.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/appServer/test_redis.php b/appServer/test_redis.php index ba434ac..ccf81e0 100644 --- a/appServer/test_redis.php +++ b/appServer/test_redis.php @@ -58,7 +58,13 @@ function checkSemaforo($redis, $semaforo, $tOutSemaforo) { } function cleanUp($redis, $tblPos, $tblLast, $DTime) { - // chiamo IN BLOCCO calcellazione dati vecchi (prima GEO e poi DTime) + // chiamo IN BLOCCO cancellazione dati vecchi (prima GEO e poi DTime) + + // esempio: + // http://srv.earthquakenetwork.it/test_redis.php + // https://github.com/ziogas/PHP-Redis-implementation + // https://stackoverflow.com/questions/33196237/how-to-set-expire-when-using-redis-geoadd + // https://redis.io/commands/zremrangebyrank // cerco i dati NUOVI (per DB) da persistere su DB $nBlockRec alla volta... }