Ask Your Question
0

is there any way to remove or delete expired tokens ?

asked 2012-05-23 02:05:39 -0500

tonytkdk gravatar image

hi all

is there anyway to remove those expired tokens in tokens table?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-04 16:12:59 -0500

heckj gravatar image

I've opened a bug (1008587) related to this.

edit flag offensive delete link more
0

answered 2012-06-04 16:11:46 -0500

heckj gravatar image

If you're using the SQL backend for tokens, there is an explicit API call to remove a token, but it expects you to know it already. The internal Token API doesn't currently do anything to remove expired tokens from a backing store, so a manual cleanup job to remove expired tokens for the SQL implementation would be needed.

The lack of cleanup of expired tokens in the SQL backend should be listed as a bug

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-05-23 02:05:39 -0500

Seen: 85 times

Last updated: Jun 04 '12