[ntop/ntopng] 8eaafb: Fix temporary cache keys never expiring

emanuele-f <[email protected]>
Newsgroups gmane.linux.ntop.devel
Message-ID <5bffd041ce59e_7b932ae5b95265881080e5@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>
  Branch: refs/heads/dev
  Home:   https://github.com/ntop/ntopng
  Commit: 8eaafbc3afe4b813e5055fcc5ad891c485c0d426
      https://github.com/ntop/ntopng/commit/8eaafbc3afe4b813e5055fcc5ad891c485c0d426
  Author: emanuele-f <[email protected]>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/Redis.cpp

  Log Message:
  -----------
  Fix temporary cache keys never expiring

Fixes two bugs:
 - TTL was not checked when retrieving the key from the in-memory cache
 - TTL was not read from Redis when loading the key from Redis



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.