Comment 7 for bug 1634746

Revision history for this message
Richard (csravelar) wrote : Re: check revocation too slow

As lbragstad mentioned, it looks like you are calling
https://github.com/openstack/keystone/blob/1254ac028332778d086a7884aab1fe7c60748590/keystone/revoke/backends/sql.py#L116-L125

Look inside revoke/core.py where the method 'check_token' is and make sure the call to list events is invoked so that it can call _list_token_events instead of _list_last_fetch_events.

https://github.com/openstack/keystone/blob/1254ac028332778d086a7884aab1fe7c60748590/keystone/revoke/backends/sql.py#L127-L131
So you would pass a token into list_events and then list events checks token is set to call
https://github.com/openstack/keystone/blob/1254ac028332778d086a7884aab1fe7c60748590/keystone/revoke/backends/sql.py#L93-L114