Skip to content

Commit fcce0ff

Browse files
committed
ACP2E-11: Requesting create customer token is taking very long time
- fix
1 parent 5734ca9 commit fcce0ff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/code/Magento/Integration/etc/db_schema.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
<index referenceId="OAUTH_TOKEN_CONSUMER_ID" indexType="btree">
7575
<column name="consumer_id"/>
7676
</index>
77+
<index referenceId="OAUTH_TOKEN_CREATED_AT_TYPE" indexType="btree">
78+
<column name="created_at"/>
79+
</index>
7780
</table>
7881
<table name="oauth_nonce" resource="default" engine="innodb" comment="OAuth Nonce">
7982
<column xsi:type="varchar" name="nonce" nullable="false" length="32" comment="Nonce String"/>

app/code/Magento/Integration/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"created_at": true
3838
},
3939
"index": {
40-
"OAUTH_TOKEN_CONSUMER_ID": true
40+
"OAUTH_TOKEN_CONSUMER_ID": true,
41+
"OAUTH_TOKEN_CREATED_AT": true
4142
},
4243
"constraint": {
4344
"PRIMARY": true,

0 commit comments

Comments
 (0)