New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix got null some time #552
base: develop
Are you sure you want to change the base?
Conversation
I feel like the Eventual Consistency most likely would be acceptable in most cases. |
sounds like a plan! |
is this something you are willing to add in another Pull Request? |
@WitzHsiao are you planning on submitting a PR for this change? |
@bshaffer Sorry for reply lately. I've changed it to get |
These should all read "ConsistentRead" => $this->config['consistent_read'] With the |
Also, there's a typo. All of these say Also, we need tests. |
@WitzHsiao pinging on this open issue |
@bshaffer Sorry, forgot this issue. Thanks for review. I have already fix the typo in the second commit. |
This is not what I had in mind. Rather than using $this->config = array_merge(array(
'client_table' => 'oauth_clients',
'access_token_table' => 'oauth_access_tokens',
'refresh_token_table' => 'oauth_refresh_tokens',
'code_table' => 'oauth_authorization_codes',
'user_table' => 'oauth_users',
'jwt_table' => 'oauth_jwt',
'scope_table' => 'oauth_scopes',
'public_key_table' => 'oauth_public_keys',
'consistent_read' => false, // <---- HERE
), $config); |
I found a bug when I get Access Token from DynamoDB, which will got null very some time.