Skip to content

Commit

Permalink
Remove the session GC task and API
Browse files Browse the repository at this point in the history
Since 2017-02 dynamodb now can automatically and freely run garbage collection
on tables. It's more cost effective and have no performance impact on sites
using dynamodb as a session storage.

source: https://aws.amazon.com/about-aws/whats-new/2017/02/amazon-dynamodb-now-supports-automatic-item-expiration-with-time-to-live-ttl/
  • Loading branch information
Stig Lindqvist committed Jun 14, 2017
1 parent 33342d7 commit d91baf5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 65 deletions.
8 changes: 0 additions & 8 deletions code/Model/DynamoDbSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,4 @@ public function register()
{
return $this->handler->register();
}

/**
* Garbage collect the configured DynamoDB session table
*/
public function collect()
{
return $this->handler->garbageCollect();
}
}
57 changes: 0 additions & 57 deletions code/Tasks/GarbageCollectSessionCronTask.php

This file was deleted.

0 comments on commit d91baf5

Please sign in to comment.