Skip Menu |

This queue is for tickets about the MojoX-Session-Store-Redis CPAN distribution.

Report information
The Basics
Id: 88808
Status: resolved
Priority: 0/
Queue: MojoX-Session-Store-Redis

People
Owner: BlueT [...] BlueT.org
Requestors: yz [...] pochta.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.08



Subject: Invalid TTL in redis base
This library sets value of record with a redis command EXPIRE but uses as an argument a unix timestamp. This is incorrect, EXPIRE needs time in seconds. As a result, auto-purge never works. By the way, auto-purge must also somehow know about MojoX::Session method extend_expire and react to it accordingly
在 2013年9月19日周四 下午02:46:46 時,https://www.google.com/accounts/o8/id?id=AItOawkobtpLXFB2EhHJ1kYmuLmI9nlvlkvaq8g 寫到: Show quoted text
> This library sets value of record with a redis command EXPIRE but uses > as an argument a unix timestamp. This is incorrect, EXPIRE needs time > in seconds. > > As a result, auto-purge never works. > > By the way, auto-purge must also somehow know about MojoX::Session > method extend_expire and react to it accordingly
Fixed in https://github.com/BlueT/p5-MojoX-Session-Store-Redis/commit/f7da13155fe294df26663abc34ea158b6dec7db7 uploaded 0.08 to PAUSE and waiting for cpan/RT update http://pause.perl.org/pub/PAUSE/authors/id/B/BL/BLUET/MojoX-Session-Store-Redis-0.08.tgz
在 2017年2月12日周日 下午10:34:57 時,BLUET 寫到: Show quoted text
> 在 2013年9月19日周四 下午02:46:46 > 時,https://www.google.com/accounts/o8/id?id=AItOawkobtpLXFB2EhHJ1kYmuLmI9nlvlkvaq8g > 寫到:
> > This library sets value of record with a redis command EXPIRE but > > uses > > as an argument a unix timestamp. This is incorrect, EXPIRE needs time > > in seconds. > > > > As a result, auto-purge never works. > > > > By the way, auto-purge must also somehow know about MojoX::Session > > method extend_expire and react to it accordingly
> > Fixed in https://github.com/BlueT/p5-MojoX-Session-Store- > Redis/commit/f7da13155fe294df26663abc34ea158b6dec7db7 > uploaded 0.08 to PAUSE and waiting for cpan/RT update > http://pause.perl.org/pub/PAUSE/authors/id/B/BL/BLUET/MojoX-Session- > Store-Redis-0.08.tgz