Bug: External transfers resulting in timeout
Opened this issue · 0 comments
Describe the issue
Getting a timeout when trying to transfer to an external account, been debugging and it gets to getAccountFromExternalAccount
but isn't able to retrieve the account. Can't figure out why it can't find any accounts from the extenal_accounts
table. I've checked the database and the account is listed in there so drawing blanks :/
Expected behavior
Should successfully retrieve the account from the external_accounts
table and be able to link that up with the account in question and successfully transfer the specified amount.
To Reproduce
Steps to reproduce the behavior:
- Open bank/phone app
- Navigate to transfer page
- Select account to transfer from
- Select external account to transfer to
- Enter amount to transfer
- Click transfer and after a lengthy time it will timeout and show an unsuccessful response to the player
Needed information (please complete the following information):
- Client Version: Canary
- Template Version: 1.0.0
Additional context
While testing this, it has become apparent that when it runs through the process and eventually times out, nobody on the server is able to make any interaction with PEFCL while it tries to process the event and result in a timeout. This causes problems especially on larger servers where many players are trying to complete actions at the same time and facing longer load times and unresponsiveness due to one players action that results in a timeout.